Skip to content

Commit

Permalink
Use "/static" root path to avoid security concerns
Browse files Browse the repository at this point in the history
  • Loading branch information
jrrickerson committed Apr 25, 2023
1 parent 0fac579 commit 6e1926a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/httpserver_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
print("Connected to", ssid)

pool = socketpool.SocketPool(wifi.radio)
server = HTTPServer(pool, "")
server = HTTPServer(pool, "/static")


@server.route("/")
Expand Down

0 comments on commit 6e1926a

Please sign in to comment.