Skip to content

Commit 6c84978

Browse files
committed
add root_path argument to server init
1 parent 4a1f324 commit 6c84978

File tree

1 file changed

+1
-1
lines changed
  • PicoW_CircuitPython_HTTP_Server

1 file changed

+1
-1
lines changed

PicoW_CircuitPython_HTTP_Server/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def c_to_f(temp):
8282

8383
print("Connected to WiFi")
8484
pool = socketpool.SocketPool(wifi.radio)
85-
server = HTTPServer(pool)
85+
server = HTTPServer(pool, "/static")
8686

8787
# variables for HTML
8888
# comment/uncomment desired temp unit

0 commit comments

Comments
 (0)