summaryrefslogtreecommitdiff
path: root/frontend/src
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src')
-rw-r--r--frontend/src/utils/createWebSocketConnection.js2
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), {
bgstack15