File: adminconfig.js

package info (click to toggle)
janus 1.1.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,744 kB
  • sloc: ansic: 87,791; javascript: 16,056; makefile: 696; sh: 282; python: 257; lisp: 9
file content (13 lines) | stat: -rw-r--r-- 532 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
//
// This 'server' variable we use to contact the Admin/Monitor backend is
// constructed in this example pretty much as we do in all the demos, so
// refer to the guidelines there with respect to absolute vs. relative
// paths and the like.
//
var server = null;
if(window.location.protocol === 'http:')
	server = "http://" + window.location.hostname + ":7088/admin";
else
	server = "https://" + window.location.hostname + ":7889/admin";
// If you don't want the page to prompt you for a password, insert it here
var secret = "";