From 41cde9d316d49f8216a7466a67b7bb6d1a698efb Mon Sep 17 00:00:00 2001 From: Darren Date: Sat, 10 Aug 2013 22:59:31 +0100 Subject: [PATCH] Add kiwi_server options into settings.json --- client/assets/src/index.html.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/assets/src/index.html.tmpl b/client/assets/src/index.html.tmpl index e5fab30..d42aae5 100644 --- a/client/assets/src/index.html.tmpl +++ b/client/assets/src/index.html.tmpl @@ -325,10 +325,7 @@ scripts = [], opts = { container: $('#kiwi'), - base_path: base_path, - - // Override the kiwi_server to use. (Think: running on standalone client..) - //kiwi_server: 'http://kiwiirc.com:80', + base_path: base_path }; // Run after all dependancies have been loaded @@ -379,6 +376,9 @@ opts.translations = data.translations; opts.locale = data.locale; + if (typeof data.kiwi_server !== 'undefined') + opts.kiwi_server = data.kiwi_server; + // Start loading scripts loadNextScript(); }); -- 2.25.1