File: config-debian.diff

package info (click to toggle)
jwchat 1.0%2Bdfsg-1.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,940 kB
  • sloc: perl: 479; xml: 462; java: 116; sh: 87; makefile: 54
file content (34 lines) | stat: -rw-r--r-- 959 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Author: Torsten Werner <twerner@debian.org>
Forwarded: not-needed
Description: Changes the SITENAME and comments out polling mode
 and binding with {jabber,jwchat}.org examples.

Index: jwchat-1.0final/config.js
===================================================================
--- jwchat-1.0+dfsg-1.orig/src/config.js	2008-12-10 17:02:59.000000000 +0100
+++ jwchat-1.0+dfsg-1/src/config.js	2008-12-27 00:23:50.000000000 +0100
@@ -26,7 +26,7 @@
  * Have a look at the README for hints and troubleshooting!
  */
 
-var SITENAME = "localhost";
+var SITENAME = "__ApacheServerName__";
 
 /* BACKENDS
  * Array of objects each describing a backend.
@@ -60,6 +60,7 @@
 			type:"binding",
 			servers_allowed:[SITENAME]
 		},
+/*
 		{
 			name:"Native Polling",
 			description:"Ejabberd's native HTTP Polling backend",
@@ -81,6 +82,7 @@
 			type:"binding",
 			servers_allowed:[SITENAME,'jabber.org','jwchat.org']
 		}
+*/
 ];
 
 var DEFAULTRESOURCE = "jwchat";