hotfix old auth url

This commit is contained in:
24c02 2025-12-02 04:47:23 -05:00
parent fd6b2be24c
commit ba38578d4a

View file

@ -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