+
+
tangled
tightly-knit social coding.
- Join our Discord or IRC channel:
+ Join our Discord or
+ IRC channel:
#tangled on Libera Chat.
diff --git a/appview/pages/templates/user/oauthlogin.html b/appview/pages/templates/user/oauthlogin.html
deleted file mode 100644
index 1eaaead1..00000000
--- a/appview/pages/templates/user/oauthlogin.html
+++ /dev/null
@@ -1,71 +0,0 @@
-{{ define "user/oauthlogin" }}
-
-
-
-
-
-
-
- login
-
-
-
-
- tangled
-
-
- tightly-knit social coding.
-
-
-
- Join our Discord or
- IRC channel:
- #tangled on Libera Chat.
-
-
-
-
-
-{{ end }}
diff --git a/appview/state/router.go b/appview/state/router.go
index 44605b4b..d8a5ad34 100644
--- a/appview/state/router.go
+++ b/appview/state/router.go
@@ -200,11 +200,6 @@ func (s *State) StandardRouter() http.Handler {
r.With(middleware.AuthMiddleware(s.oauth)).Post("/logout", s.Logout)
- // r.Route("/login", func(r chi.Router) {
- // r.Get("/", s.Login)
- // r.Post("/", s.Login)
- // })
-
r.Route("/knots", func(r chi.Router) {
r.Use(middleware.AuthMiddleware(s.oauth))
r.Get("/", s.Knots)
@@ -250,7 +245,7 @@ func (s *State) StandardRouter() http.Handler {
})
r.Mount("/settings", s.SettingsRouter())
- r.Mount("/oauth", s.OAuthRouter())
+ r.Mount("/", s.OAuthRouter())
r.Get("/keys/{user}", s.Keys)
r.NotFound(func(w http.ResponseWriter, r *http.Request) {
tangled
tightly-knit social coding.
- Join our Discord or IRC channel:
+ Join our Discord or
+ IRC channel:
#tangled on Libera Chat.
diff --git a/appview/pages/templates/user/oauthlogin.html b/appview/pages/templates/user/oauthlogin.html
deleted file mode 100644
index 1eaaead1..00000000
--- a/appview/pages/templates/user/oauthlogin.html
+++ /dev/null
@@ -1,71 +0,0 @@
-{{ define "user/oauthlogin" }}
-
-
-
- tangled -
-- tightly-knit social coding. -
- -
- Join our Discord or
- IRC channel:
- #tangled on Libera Chat.
-