mirror of https://gitlab.com/bashrc2/epicyon
Set path on redirect
parent
a77fdc074c
commit
e48f019d56
|
@ -546,6 +546,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.send_header('X-Robots-Tag', 'noindex')
|
self.send_header('X-Robots-Tag', 'noindex')
|
||||||
self.end_headers()
|
self.end_headers()
|
||||||
if not httpRedirect:
|
if not httpRedirect:
|
||||||
|
self.Path = redirect.replace(callingDomain, '')
|
||||||
self.do_GET()
|
self.do_GET()
|
||||||
|
|
||||||
def _httpReturnCode(self, httpCode: int, httpDescription: str) -> None:
|
def _httpReturnCode(self, httpCode: int, httpDescription: str) -> None:
|
||||||
|
|
Loading…
Reference in New Issue