summaryrefslogtreecommitdiff
path: root/guard/application.py
diff options
context:
space:
mode:
Diffstat (limited to 'guard/application.py')
-rw-r--r--guard/application.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/guard/application.py b/guard/application.py
index 4782bac..45261ec 100644
--- a/guard/application.py
+++ b/guard/application.py
@@ -23,7 +23,7 @@ def make_app(app, config):
Access.create(token=request.form["token"],
pattern=request.form["pattern"],
comment=request.form["comment"])
- return templates.index(config['port'], cookiename)
+ return templates.index(config)
@app.route("/delete", methods=["POST"])
def delete():