add root_path argument to server init

This commit is contained in:
foamyguy 2023-04-24 10:03:39 -05:00
parent 4a1f32403a
commit 6c8497815c

View file

@ -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