We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd6b2be commit ba38578Copy full SHA for ba38578
lib/middleware/domain_redirect.rb
@@ -6,7 +6,7 @@ def initialize(app)
6
def call(env)
7
request = Rack::Request.new(env)
8
9
- 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"
10
return @app.call(env)
11
end
12
0 commit comments