diff options
author | href <href@random.sh> | 2018-02-10 21:40:22 +0100 |
---|---|---|
committer | href <href@random.sh> | 2018-02-10 21:40:22 +0100 |
commit | 935a36eecc0faea60236101e11bc9f7cf1872686 (patch) | |
tree | b7b4358dee2eb3fc60681852f62c750ae8c05cb9 /lib/lsg_web/router.ex | |
parent | sse / embedded player (diff) |
update
Diffstat (limited to '')
-rw-r--r-- | lib/lsg_web/router.ex | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/lsg_web/router.ex b/lib/lsg_web/router.ex index db0e5cd..9373e85 100644 --- a/lib/lsg_web/router.ex +++ b/lib/lsg_web/router.ex @@ -14,9 +14,14 @@ defmodule LSGWeb.Router do end scope "/", LSGWeb do - pipe_through :browser # Use the default browser stack - + pipe_through :browser + get "/", PageController, :index get "/embed/widget", PageController, :widget + get "/api", PageController, :api + + get "/irc", IrcController, :index + get "/irc/txt", IrcController, :txt + get "/irc/txt/:name", IrcController, :txt end scope "/api", LSGWeb do |