fix: close dashboard before beta 1
This commit is contained in:
parent
48599324de
commit
e62af95d0d
|
@ -47,11 +47,13 @@ start_listeners() ->
|
||||||
type => apiKey,
|
type => apiKey,
|
||||||
name => "authorization",
|
name => "authorization",
|
||||||
in => header}}}},
|
in => header}}}},
|
||||||
Dispatch = [
|
%% TODO: open dashboard after beta 1
|
||||||
{"/", cowboy_static, {priv_file, emqx_dashboard, "www/index.html"}},
|
%% Dispatch = [
|
||||||
{"/static/[...]", cowboy_static, {priv_dir, emqx_dashboard, "www/static"}},
|
%% {"/", cowboy_static, {priv_file, emqx_dashboard, "www/index.html"}},
|
||||||
{'_', cowboy_static, {priv_file, emqx_dashboard, "www/index.html"}}
|
%% {"/static/[...]", cowboy_static, {priv_dir, emqx_dashboard, "www/static"}},
|
||||||
],
|
%% {'_', cowboy_static, {priv_file, emqx_dashboard, "www/index.html"}}
|
||||||
|
%% ],
|
||||||
|
Dispatch = [],
|
||||||
BaseMinirest = #{
|
BaseMinirest = #{
|
||||||
base_path => ?BASE_PATH,
|
base_path => ?BASE_PATH,
|
||||||
modules => minirest_api:find_api_modules(apps()),
|
modules => minirest_api:find_api_modules(apps()),
|
||||||
|
|
Loading…
Reference in New Issue