mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-06 13:37:34 +08:00
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:
commit
ae29a1734c
@ -169,7 +169,7 @@ void device_dashboard_fn(struct mg_connection *c, int ev, void *ev_data,
|
|||||||
u->token);
|
u->token);
|
||||||
} else {
|
} else {
|
||||||
struct mg_http_serve_opts opts = {0};
|
struct mg_http_serve_opts opts = {0};
|
||||||
#if 0
|
#if 1
|
||||||
opts.root_dir = "/web_root";
|
opts.root_dir = "/web_root";
|
||||||
opts.fs = &mg_fs_packed;
|
opts.fs = &mg_fs_packed;
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user