Merge pull request #1660 from cesanta/device-dashboard

device-dashboard: default to using packed fs, otherwise hw examples won't work
This commit is contained in:
Sergey Lyubka 2022-08-04 17:13:03 +01:00 committed by GitHub
commit ae29a1734c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -169,7 +169,7 @@ void device_dashboard_fn(struct mg_connection *c, int ev, void *ev_data,
u->token);
} else {
struct mg_http_serve_opts opts = {0};
#if 0
#if 1
opts.root_dir = "/web_root";
opts.fs = &mg_fs_packed;
#else