Skip to content

Commit 0268767

Browse files
committed
Use "/static" root path to avoid security concerns
1 parent 0fac579 commit 0268767

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
12 KB
Binary file not shown.

examples/httpserver_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
print("Connected to", ssid)
2222

2323
pool = socketpool.SocketPool(wifi.radio)
24-
server = HTTPServer(pool, "")
24+
server = HTTPServer(pool, "/static")
2525

2626

2727
@server.route("/")

0 commit comments

Comments
 (0)