const host = location.hostname; const port = location.port; //const port = 8000 window.Glod = { selfURL: "http://" + host + ":" + port + "/coinageWeb/#/", baseURLConfig: "http://" + host + ":8000/coinage/", WEBSOCKET_URL: "ws://" + location + ":8000/WebSocketServer/" };