disable spiffs

This commit is contained in:
technyon
2023-02-07 18:12:42 +01:00
parent 2a6a1355b2
commit 7848dde274
4 changed files with 9 additions and 8 deletions

View File

@@ -90,7 +90,9 @@ public:
void on(const Uri &uri, HTTPMethod method, THandlerFunction fn);
void on(const Uri &uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);
void addHandler(RequestHandler* handler);
#ifdef WEBSERVER_ENABLE_STATIC_CONTENT
void serveStatic(const char* uri, fs::FS& fs, const char* path, const char* cache_header = NULL );
#endif
void onNotFound(THandlerFunction fn); //called when handler is not assigned
void onFileUpload(THandlerFunction fn); //handle file uploads