|
|
Dispatch = [{"/", cowboy_static, {priv_file, emqx_dashboard, "www/index.html"}},
|
|
Dispatch = [{"/", cowboy_static, {priv_file, emqx_dashboard, "www/index.html"}},
|
|
|
- {"/static/[...]", cowboy_static, {priv_dir, emqx_dashboard, "www/static"}}],
|
|
|
|
|
|
|
+ {"/static/[...]", cowboy_static, {priv_dir, emqx_dashboard, "www/static"}},
|
|
|
|
|
+ {'_', cowboy_static, {priv_file, emqx_dashboard, "www/index.html"}}],
|