mirror of
https://github.com/System-End/identity-vault.git
synced 2026-04-19 19:45:08 +00:00
hotfix old auth url
This commit is contained in:
parent
fd6b2be24c
commit
ba38578d4a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue