Diff

mod_candy/www_files/index.html @ 2454:51cf82d36a8a

mod_candy: Add support for enabling Candy debug mode from Prosodys config
author Kim Alvefur <zash@zash.se>
date Fri, 20 Jan 2017 01:30:34 +0100
parent 2450:36ffe9d11132
line wrap: on
line diff
--- a/mod_candy/www_files/index.html	Fri Jan 20 01:21:21 2017 +0100
+++ b/mod_candy/www_files/index.html	Fri Jan 20 01:30:34 2017 +0100
@@ -16,7 +16,7 @@
 			Candy.init(Prosody.connect_path, {
 				core: {
 					// only set this to true if developing / debugging errors
-					debug: false,
+					debug: Prosody.debug,
 					// autojoin is a *required* parameter if you don't have a plugin (e.g. roomPanel) for it
 					//   true
 					//     -> fetch info from server (NOTE: does only work with openfire server)