Refactor device-dashboard

This commit is contained in:
Sergio R. Caprile committed 2023-05-26 20:45:08 -03:00
1 parent 49a9bb5a8b
commit 58606e1702
29 files changed
+5123 -4476

No files matched your search

+1
View File
@@ -237,6 +237,7 @@ static void fn(struct mg_connection *c, int ev, void *ev_data, void *fn_data) {
struct mg_http_serve_opts opts;
memset(&opts, 0, sizeof(opts));
#if MG_ENABLE_PACKED_FS
opts.root_dir = "/web_root";
opts.fs = &mg_fs_packed;
#else
opts.root_dir = "web_root";