From d8466d705a09fdb1009faad82f38ba8a8bb0bd51 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Sat, 26 Oct 2024 17:30:20 +0200 Subject: [PATCH] Fix redirect --- auth/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/server.py b/auth/server.py index ea5aa84..cc8b07f 100755 --- a/auth/server.py +++ b/auth/server.py @@ -259,7 +259,7 @@ class HTTPRequestHandler(BaseHTTPRequestHandler): def root(self): self.send_response(HTTPStatus.NO_CONTENT) - self.send_header("X-Authlib-Injector-API-Location", server_url + "/ygg") + self.send_header("X-Authlib-Injector-API-Location", self.config["server_url"] + "/ygg") self.end_headers() if __name__ == "__main__":