Skip to content

Commit ba38578

Browse files
committed
hotfix old auth url
1 parent fd6b2be commit ba38578

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/middleware/domain_redirect.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def initialize(app)
66
def call(env)
77
request = Rack::Request.new(env)
88

9-
if request.path.start_with?("/api") || request.host == "auth.hackclub.com"
9+
if request.path.start_with?("/api") || request.path.start_with?("/oauth") || request.host == "auth.hackclub.com"
1010
return @app.call(env)
1111
end
1212

0 commit comments

Comments
 (0)