Skip to content
Snippets Groups Projects
Commit 49dc9f05 authored by Nikolaus Krismer's avatar Nikolaus Krismer
Browse files

now calculating hard-coded webservice address (so the ws connection

works on the development system and the demo machine)
parent 796b127d
No related branches found
No related tags found
No related merge requests found
define(['jQuery', 'console'], function($, logger) {
var wsUri = 'ws://localhost:8090/isochrone/websocket';
// Static fields
var currentUrl = window.location.href,
wsUri = null;
currentUrl = currentUrl.substring(0, currentUrl.lastIndexOf('/') + 1);
wsUri = 'ws' + currentUrl.substring(currentUrl.indexOf(':')) + 'websocket';
/**
* This class is used to communicate with the server
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment