summaryrefslogtreecommitdiff
path: root/lib/lsg_web/router.ex
diff options
context:
space:
mode:
authorhref <href@random.sh>2021-09-07 05:28:02 +0200
committerhref <href@random.sh>2021-09-07 05:28:02 +0200
commitcf7b21afa87ca5202bd626d26a60adab1e9131a1 (patch)
tree245cbb332e9ab63a2b84e4168e0ce750dc1e7ae9 /lib/lsg_web/router.ex
parentuser_track: fix find_by_account/2 (diff)
web: openid & various fixes
Diffstat (limited to '')
-rw-r--r--lib/lsg_web/router.ex6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/lsg_web/router.ex b/lib/lsg_web/router.ex
index e872cef..eba71dc 100644
--- a/lib/lsg_web/router.ex
+++ b/lib/lsg_web/router.ex
@@ -32,10 +32,15 @@ defmodule LSGWeb.Router do
get "/", PageController, :index
get "/login/irc/:token", PageController, :token, as: :login
+ get "/login/oidc", OpenIdController, :login
+ get "/login/oidc/callback", OpenIdController, :callback
+
get "/api/untappd/callback", UntappdController, :callback, as: :untappd_callback
+
get "/-", IrcController, :index
get "/-/txt", IrcController, :txt
get "/-/txt/:name", IrcController, :txt
+
get "/-/alcoolog", AlcoologController, :index
get "/-/alcoolog/~/:account_name", AlcoologController, :index
get "/:network", NetworkController, :index
@@ -48,6 +53,7 @@ defmodule LSGWeb.Router do
get "/:network/:chan/alcoolog", AlcoologController, :index
get "/:network/:chan/alcoolog/gls.json", AlcoologController, :index_gls_json
put "/api/alcoolog/minisync/:user_id/meta/:key", AlcoologController, :minisync_put_meta
+
get "/:network/:chan", IrcController, :index
live "/:network/:chan/live", ChatLive
get "/:network/:chan/txt", IrcController, :txt