Make server url configurable
This commit is contained in:
@@ -12,7 +12,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
ws: new WebSocket('ws://localhost:5000/glebby'),
|
||||
ws: new WebSocket(import.meta.env.VITE_GLEBBY_SERVER_URL),
|
||||
model: null
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user