aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'libpathod/app.py')
-rw-r--r--libpathod/app.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpathod/app.py b/libpathod/app.py
index 396e45c2..fc4e23ec 100644
--- a/libpathod/app.py
+++ b/libpathod/app.py
@@ -131,9 +131,9 @@ def _preview(is_request):
args["pauses"] = r.preview_safe()
if is_request:
- r.serve(s, check=app.config["pathod"].check_policy, host="example.com")
+ r.serve(app.config["pathod"].request_settings, s, check=app.config["pathod"].check_policy, host="example.com")
else:
- r.serve(s, check=app.config["pathod"].check_policy)
+ r.serve(app.config["pathod"].request_settings, s, check=app.config["pathod"].check_policy)
args["output"] = utils.escape_unprintables(s.getvalue())
return render(template, False, **args)