Fix kobo links for reverse proxies with subdomains (and docker?) #1470

pull/1540/head
Ozzieisaacs 4 years ago
parent 8608ff11f7
commit ee3541d74e

@ -19,8 +19,6 @@
import base64
import datetime
import itertools
import json
import sys
import os
import uuid

@ -77,6 +77,7 @@ class ReverseProxied(object):
servr = environ.get('HTTP_X_FORWARDED_HOST', '')
if servr:
environ['HTTP_HOST'] = servr
self.proxied = True
return self.app(environ, start_response)
@property

Loading…
Cancel
Save