Browse Source

Fix redirect

master
mid-kid 4 weeks ago
parent
commit
d8466d705a
  1. 2
      auth/server.py

2
auth/server.py

@ -259,7 +259,7 @@ class HTTPRequestHandler(BaseHTTPRequestHandler):
def root(self): def root(self):
self.send_response(HTTPStatus.NO_CONTENT) 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() self.end_headers()
if __name__ == "__main__": if __name__ == "__main__":

Loading…
Cancel
Save