Show More
@@ -35,7 +35,7 b' def wrap_app(app):' | |||||
35 | app = SimpleGit(app, config) |
|
35 | app = SimpleGit(app, config) | |
36 |
|
36 | |||
37 | # Enable https redirects based on HTTP_X_URL_SCHEME set by proxy |
|
37 | # Enable https redirects based on HTTP_X_URL_SCHEME set by proxy | |
38 |
if |
|
38 | if config.get('url_scheme_variable') or asbool(config.get('force_https')) or asbool(config.get('use_htsts')): | |
39 | app = HttpsFixup(app, config) |
|
39 | app = HttpsFixup(app, config) | |
40 |
|
40 | |||
41 | app = PermanentRepoUrl(app, config) |
|
41 | app = PermanentRepoUrl(app, config) |
General Comments 0
You need to be logged in to leave comments.
Login now