summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomek Dubrownik <t.dubrownik@gmail.com>2012-01-29 13:16:56 +0100
committerTomek Dubrownik <t.dubrownik@gmail.com>2012-01-29 13:16:56 +0100
commite7a6e2418611fdacf471225c4656ff8c403139ac (patch)
tree963b595d5eaa9e41972ea67000e4b3f931446e4e
parenta826118cf670e4da8d1206ef79a73e7f4c02e771 (diff)
downloadcheckinator-e7a6e2418611fdacf471225c4656ff8c403139ac.tar.gz
checkinator-e7a6e2418611fdacf471225c4656ff8c403139ac.tar.bz2
checkinator-e7a6e2418611fdacf471225c4656ff8c403139ac.zip
proxy fix
-rw-r--r--at.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/at.py b/at.py
index b99b53e..2d7abdb 100644
--- a/at.py
+++ b/at.py
@@ -6,6 +6,7 @@ import traceback
import json
from flask import Flask, render_template, abort, g, \
redirect, session, request, flash, url_for
+from werkzeug.contrib.fixers import ProxyFix
from datetime import datetime
from wsgiref import simple_server
from pesto import Response, dispatcher_app
@@ -17,6 +18,7 @@ from hashlib import sha256
import config
app = Flask('at')
+app.wsgi_app = ProxyFix(app.wsgi_app)
app.secret_key = config.secret_key
updater = None