dc42 / DuetWiFiServer

HTTP and related server code for Duet WiFi 3D printer electronics
11 stars 9 forks source link

Missing the file: reprap.html #2

Closed MS1987 closed 8 years ago

MS1987 commented 8 years ago

Mr dc42, I come again. Yesterday I could not visit the web ui because I had not load the ".html" file to the file system. But I found there's no "reprap.html" in your project.

void fsHandler() { String path = server.uri(); if (path.endsWith("/")) { path += F("reprap.htm"); // default to reprap.htm as the index page } bool addedGz = false; File dataFile = SPIFFS.open(path, "r");

dc42 commented 8 years ago

The HTML file set is a separate project, DuetWebControl, maintained by Chrstian Hammacher at https://github.com/chrishamm/DuetWebControl.