diff options
author | Victor Chabbert <chabbertvi@eisti.eu> | 2017-01-20 23:20:02 +0100 |
---|---|---|
committer | Victor Chabbert <chabbertvi@eisti.eu> | 2017-01-20 23:25:26 +0100 |
commit | b5a460ecc35dc5609339317337d467368d7593bb (patch) | |
tree | 9858ed63e6f11ace23f107e1fb0b68cefa9ef340 | |
parent | DUCKS! Refactor front architecture (diff) | |
download | seven-wonders-b5a460ecc35dc5609339317337d467368d7593bb.tar.gz seven-wonders-b5a460ecc35dc5609339317337d467368d7593bb.tar.bz2 seven-wonders-b5a460ecc35dc5609339317337d467368d7593bb.zip |
Remove absolute ws link in frontend
-rw-r--r-- | frontend/src/utils/createWebSocketConnection.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/utils/createWebSocketConnection.js b/frontend/src/utils/createWebSocketConnection.js index b0924976..f5d29f37 100644 --- a/frontend/src/utils/createWebSocketConnection.js +++ b/frontend/src/utils/createWebSocketConnection.js @@ -1,6 +1,6 @@ import SockJS from 'sockjs-client' import Stomp from 'webstomp-client' -const wsURL = 'http://localhost:8080/seven-wonders-websocket' +const wsURL = '/seven-wonders-websocket' const createConnection = (headers = {}) => new Promise((resolve, reject) => { let socket = Stomp.over(new SockJS(wsURL), { |