From cdda34490fb9191c418ee779db43317d11d58e96 Mon Sep 17 00:00:00 2001 From: Arzumify Date: Wed, 2 Oct 2024 21:31:29 +0100 Subject: [PATCH] Renamed /authorize to not conflict with nucleus --- main.go | 4 ++-- resources/templates/{authorize.html => oauth.html} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename resources/templates/{authorize.html => oauth.html} (100%) diff --git a/main.go b/main.go index 0fafca3..509bfa7 100644 --- a/main.go +++ b/main.go @@ -461,8 +461,8 @@ func Main(information library.ServiceInitializationInformation) { renderTemplate(200, w, nil, "packages.html", information) }) - router.Get("/authorize", func(w http.ResponseWriter, r *http.Request) { - renderTemplate(200, w, nil, "authorize.html", information) + router.Get("/oauth", func(w http.ResponseWriter, r *http.Request) { + renderTemplate(200, w, nil, "oauth.html", information) }) // Report a successful activation diff --git a/resources/templates/authorize.html b/resources/templates/oauth.html similarity index 100% rename from resources/templates/authorize.html rename to resources/templates/oauth.html