bookmarklet: use dynamic host and scheme from request headers
This commit is contained in:
parent
4a45700067
commit
27147bd3f9
3 changed files with 13 additions and 9 deletions
|
|
@ -125,6 +125,7 @@ class GatewayHandler(BaseHTTPRequestHandler):
|
|||
"body": body,
|
||||
"cookies": cookies,
|
||||
"gateway_host": self.headers.get("Host", f"localhost:{GATEWAY_PORT}"),
|
||||
"scheme": self.headers.get("X-Forwarded-Proto", "http"),
|
||||
}
|
||||
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue