add root_path argument to server init
This commit is contained in:
parent
4a1f32403a
commit
6c8497815c
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ wifi.radio.connect(os.getenv('CIRCUITPY_WIFI_SSID'), os.getenv('CIRCUITPY_WIFI_P
|
|||
|
||||
print("Connected to WiFi")
|
||||
pool = socketpool.SocketPool(wifi.radio)
|
||||
server = HTTPServer(pool)
|
||||
server = HTTPServer(pool, "/static")
|
||||
|
||||
# variables for HTML
|
||||
# comment/uncomment desired temp unit
|
||||
|
|
|
|||
Loading…
Reference in a new issue