mirror of
https://github.com/EDCD/EDDN.git
synced 2025-04-22 03:20:29 +03:00
monitor: Make example eddn-config.js fit the usual live setup
This commit is contained in:
parent
0916d0c440
commit
bd3fdce53b
@ -4,12 +4,11 @@ var eddn_config = {
|
||||
updateInterval: 60000,
|
||||
|
||||
eddn_host: 'eddn.edcd.io',
|
||||
monitorEndPoint: 'https://eddn.edcd.io/dev/monitor/',
|
||||
monitorEndPoint: 'https://eddn.edcd.io/monitor/',
|
||||
|
||||
gatewayStats: '/dev/stats/',
|
||||
gatewayStats: '/stats/',
|
||||
|
||||
relayStats: '/dev/relay/stats/',
|
||||
relayBottlePort: 9110,
|
||||
relayStats: '/relay/stats/',
|
||||
|
||||
gateways: [
|
||||
'eddn.edcd.io'
|
||||
@ -20,3 +19,13 @@ var eddn_config = {
|
||||
] //TODO: Must find a way to bind them to monitor
|
||||
|
||||
};
|
||||
/* Hard-coded, because even under dev we just use the live URL. It's
|
||||
* really just for picking out things from the schema URLs, i.e. not used
|
||||
* to direct the browser anywhere.
|
||||
*/
|
||||
eddn_config['schemasURL'] = 'https://eddn.edcd.io/schemas/';
|
||||
/* If you are actually using different URLs for the actual schemas you could
|
||||
* use the following to make it programmatical.
|
||||
*/
|
||||
// eddn_config['schemasURL'] = 'https://' + eddn_config.eddn_host + '/dev/schemas/';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user