diff --git a/lib/cowboy.ex b/lib/cowboy.ex index 3f85c80..fc54025 100644 --- a/lib/cowboy.ex +++ b/lib/cowboy.ex @@ -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