fix(deploy): wow I really can't read documentation can I
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c92d26d4b9
commit
d995f0e215
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ steps:
|
|||
- pnpm build:site
|
||||
- pnpm build:server
|
||||
environment:
|
||||
GAMESERVER_URL: https://game-server.ashhhleyyy.dev/
|
||||
VITE_GAMESERVER_URL: https://game-server.ashhhleyyy.dev/
|
||||
- name: Deploy
|
||||
image: alpine
|
||||
commands:
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
function joinGame(uname: string, gameId: string) {
|
||||
players = [];
|
||||
socket = io(
|
||||
import.meta.env.GAMESERVER_URL ||
|
||||
import.meta.env.VITE_GAMESERVER_URL ||
|
||||
`http://${window.location.hostname}:3000/`
|
||||
);
|
||||
socket.on('connect', () => {
|
||||
|
|
Loading…
Reference in a new issue