1
0
mirror of https://github.com/mgerb/classic-wow-forums synced 2026-01-10 17:12:48 +00:00

prepare router to serve single page web app

This commit is contained in:
2018-01-06 14:23:48 -06:00
parent 959c44b8f8
commit 74df75dd77
9 changed files with 52 additions and 3 deletions

View File

@@ -54,4 +54,9 @@ defmodule MyAppWeb.Router do
end
end
# catch all for serving single page web app
scope "/*all", MyAppWeb do
get "/", PageController, :index
end
end