cowboy: change order of mapping to make sure
This commit is contained in:
parent
f12f2f6b59
commit
3b84381b90
1 changed files with 1 additions and 1 deletions
|
@ -33,8 +33,8 @@ defmodule Elstat.Cowboy do
|
|||
{"/hewwo", Elstat.Cowboy.DefaultHandler, []},
|
||||
{"/api/current_status", Elstat.API.CurrentStatus, []},
|
||||
{"/api/status", Elstat.API.Status, []},
|
||||
{"/[...]", :cowboy_static, {:priv_dir, :elstat, "frontend/build"}},
|
||||
{"/", :cowboy_static, {:priv_file, :elstat, "frontend/build/index.html"}},
|
||||
{"/[...]", :cowboy_static, {:priv_dir, :elstat, "frontend/build"}},
|
||||
]}
|
||||
])
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue