Diff

mod_candy/www_files/index.html @ 2440:7814a5c7fee8

mod_candy: Provide websocket URI if mod_websocket is loaded, fall back to BOSH
author Kim Alvefur <zash@zash.se>
date Tue, 10 Jan 2017 14:11:56 +0100
parent 2341:52dd2a51dac8
child 2450:36ffe9d11132
line wrap: on
line diff
--- a/mod_candy/www_files/index.html	Sun Jan 08 11:29:13 2017 +0100
+++ b/mod_candy/www_files/index.html	Tue Jan 10 14:11:56 2017 +0100
@@ -13,7 +13,7 @@
 	<script type="text/javascript" src="prosody.js"></script><!-- Virtual file generated by mod_candy -->
 	<script type="text/javascript">
 		$(document).ready(function() {
-			Candy.init(Prosody.bosh_path, {
+			Candy.init(Prosody.connect_path, {
 				core: {
 					// only set this to true if developing / debugging errors
 					debug: false,