aboutsummaryrefslogtreecommitdiff
path: root/wqflask/secure_server.py
diff options
context:
space:
mode:
authorSam2013-10-07 02:14:41 -0500
committerSam2013-10-07 02:14:41 -0500
commita55a1b941864a9574b8177349b8c9c750f379c72 (patch)
treec0e0e1ea8ad7853d0d66e6a7b6bead5eaf01046c /wqflask/secure_server.py
parente13f0c576ca75af57abac83851d206e113dabaad (diff)
downloadgenenetwork2-a55a1b941864a9574b8177349b8c9c750f379c72.tar.gz
Worked on logins, session_ids, flash messages, etc.
Diffstat (limited to 'wqflask/secure_server.py')
-rw-r--r--wqflask/secure_server.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/wqflask/secure_server.py b/wqflask/secure_server.py
index df195bd2..a77abf7e 100644
--- a/wqflask/secure_server.py
+++ b/wqflask/secure_server.py
@@ -25,8 +25,11 @@ app.logger.addHandler(file_handler)
import logging_tree
logging_tree.printout()
-import sys
-print("At startup, path is:", sys.path)
+#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)