summaryrefslogtreecommitdiff
path: root/lib/lsg_web/router.ex
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/lsg_web/router.ex14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/lsg_web/router.ex b/lib/lsg_web/router.ex
index 5cc0d4a..5658fda 100644
--- a/lib/lsg_web/router.ex
+++ b/lib/lsg_web/router.ex
@@ -1,5 +1,5 @@
-defmodule LSGWeb.Router do
- use LSGWeb, :router
+defmodule NolaWeb.Router do
+ use NolaWeb, :router
pipeline :browser do
plug :accepts, ["html", "txt"]
@@ -8,7 +8,7 @@ defmodule LSGWeb.Router do
plug :fetch_live_flash
plug :protect_from_forgery
plug :put_secure_browser_headers
- plug :put_root_layout, {LSGWeb.LayoutView, :root}
+ plug :put_root_layout, {NolaWeb.LayoutView, :root}
end
pipeline :api do
@@ -17,17 +17,17 @@ defmodule LSGWeb.Router do
pipeline :matrix_app_service do
plug :accepts, ["json"]
- plug LSG.Matrix.Plug.Auth
- plug LSG.Matrix.Plug.SetConfig
+ plug Nola.Matrix.Plug.Auth
+ plug Nola.Matrix.Plug.SetConfig
end
- scope "/api", LSGWeb do
+ scope "/api", NolaWeb do
pipe_through :api
get "/irc-auth.sse", IrcAuthSseController, :sse
post "/sms/callback/Ovh", SmsController, :ovh_callback, as: :sms
end
- scope "/", LSGWeb do
+ scope "/", NolaWeb do
pipe_through :browser
get "/", PageController, :index