user159262
Member since Nov 2024 • Last active Nov 2024Most recent activity
-
- 8 comments
- 192 views
-
-
-
-
I want to make a webserver using webserver module. I uploaded an html file via Espruino WEB IDE and wanted to reference it when creating a webserver, I did it in the following way:
var code = require("Storage").readArrayBuffer('web.html');
but when I start my server and browse the page, I see this message:
WebServer error Error: Error: Could not open file : NO_PATH
what did I do wrong?
I figured out the problem, I had to name the file in memory index.html (I just started studying all this), thanks for the answers and help!