From caf5be562e19141fceac157419de76b133f00cf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 7 Feb 2019 11:51:09 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Workaround=20for=20"Request.is?= =?UTF-8?q?=5Fxhr=20deprecated"=20warning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/server/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/octoprint/server/__init__.py b/src/octoprint/server/__init__.py index 036008b4b..9a914c32a 100644 --- a/src/octoprint/server/__init__.py +++ b/src/octoprint/server/__init__.py @@ -938,6 +938,7 @@ class Server(object): app.debug = self._debug app.config["TEMPLATES_AUTO_RELOAD"] = True + app.config["JSONIFY_PRETTYPRINT_REGULAR"] = False secret_key = s.get(["server", "secretKey"]) if not secret_key: