|
@ -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__": |
|
|