Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2018-01-09 17:52:26 +01:00
parent 8ac705d8c2
commit 92d2045735
97 changed files with 18243 additions and 1544 deletions

View File

@@ -9,7 +9,7 @@ defmodule EventosWeb.Endpoint do
# when deploying your static files in production.
plug Plug.Static,
at: "/", from: :eventos, gzip: false,
only: ~w(css fonts images js favicon.ico robots.txt)
only: ~w(css fonts images js favicon.ico robots.txt index.html)
# Code reloading can be explicitly enabled under the
# :code_reloader configuration of your endpoint.
@@ -19,6 +19,7 @@ defmodule EventosWeb.Endpoint do
plug Phoenix.CodeReloader
end
plug CORSPlug
plug Plug.RequestId
plug Plug.Logger