##// END OF EJS Templates
middleware: use config consistently in https_fixup...
Mads Kiilerich -
r8715:2065fe5b stable
parent child Browse files
Show More
@@ -26,7 +26,6 b' Original author and date, and relevant c'
26 26 """
27 27
28 28
29 import kallithea
30 29 from kallithea.lib.utils2 import asbool
31 30
32 31
@@ -62,7 +61,7 b' class HttpsFixup(object):'
62 61 proto = 'https'
63 62 else:
64 63 # get protocol from configured WSGI environment variable
65 url_scheme_variable = kallithea.CONFIG.get('url_scheme_variable')
64 url_scheme_variable = self.config.get('url_scheme_variable')
66 65 if url_scheme_variable:
67 66 proto = environ.get(url_scheme_variable)
68 67
General Comments 0
You need to be logged in to leave comments. Login now