From ba38578d4a0fd1d2e5a67c63fd835bc40a7c694f Mon Sep 17 00:00:00 2001 From: 24c02 <163450896+24c02@users.noreply.github.com> Date: Tue, 2 Dec 2025 04:47:23 -0500 Subject: [PATCH] hotfix old auth url --- lib/middleware/domain_redirect.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/middleware/domain_redirect.rb b/lib/middleware/domain_redirect.rb index b40f973..75ec084 100644 --- a/lib/middleware/domain_redirect.rb +++ b/lib/middleware/domain_redirect.rb @@ -6,7 +6,7 @@ class DomainRedirect def call(env) request = Rack::Request.new(env) - if request.path.start_with?("/api") || request.host == "auth.hackclub.com" + if request.path.start_with?("/api") || request.path.start_with?("/oauth") || request.host == "auth.hackclub.com" return @app.call(env) end