aboutsummaryrefslogtreecommitdiff
path: root/wqflask/secure_server.py
diff options
context:
space:
mode:
authorLei Yan2013-10-11 14:49:54 -0500
committerLei Yan2013-10-11 14:49:54 -0500
commit79aed6879f138bb083af91f50cd4827789683062 (patch)
tree722be02d7f7ecbc7094a7519f59f6802e123fb97 /wqflask/secure_server.py
parent8a09358e98dbf88deb101d13107a40bac371de5c (diff)
parent38ae30a5fb46753a361e1c7454871430d7097c3b (diff)
downloadgenenetwork2-79aed6879f138bb083af91f50cd4827789683062.tar.gz
Merge /home/sam/gene
Diffstat (limited to 'wqflask/secure_server.py')
-rw-r--r--wqflask/secure_server.py8
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__':