diff options
Diffstat (limited to 'wqflask/secure_server.py')
-rw-r--r-- | wqflask/secure_server.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/wqflask/secure_server.py b/wqflask/secure_server.py index 2abfdb05..a77abf7e 100644 --- a/wqflask/secure_server.py +++ b/wqflask/secure_server.py @@ -1,4 +1,4 @@ -from __future__ import print_function, division, absolute_import +from __future__ import absolute_import, division, print_function from wqflask import app @@ -25,6 +25,12 @@ app.logger.addHandler(file_handler) import logging_tree logging_tree.printout() +#import sys +#print("At startup, path is:", sys.path) + +from werkzeug.contrib.fixers import ProxyFix +app.wsgi_app = ProxyFix(app.wsgi_app) + #print("app.config is:", app.config) if __name__ == '__main__': |