From 1dc0f1fb313d7e77f0252c231ae38227e85750f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 4 Apr 2019 18:55:24 +0200 Subject: [PATCH] =?UTF-8?q?=E2=98=94=20Define=20empty=20UI=5FAPI=5FKEY=20t?= =?UTF-8?q?o=20be=20backwards=20compatible?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some plugins rely on this to be defined, let's give them some more time to update. --- src/octoprint/templates/initscript.jinja2 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/octoprint/templates/initscript.jinja2 b/src/octoprint/templates/initscript.jinja2 index 71ee636b1..9312de02e 100644 --- a/src/octoprint/templates/initscript.jinja2 +++ b/src/octoprint/templates/initscript.jinja2 @@ -25,6 +25,7 @@ // sockjs should define CLOSE_NORMAL for us, but they don't (from ws spec) var SOCKJS_CLOSE_NORMAL = 1000; + var UI_API_KEY = ""; // deprecated, only left for compatibility reasons var VERSION = "{{ version.number|e }}"; var DISPLAY_VERSION = "{{ version.display|e }}"; var BRANCH = "{{ version.branch|e }}";