Browse Source

chore: Update environment variables and remove commented out code

master
sige 1 year ago
parent
commit
af77ecb8cf
  1. 5
      .env
  2. 2
      .env.production
  3. 2
      publish.ps1

5
.env

@ -1,5 +1,2 @@
VITE_BASE_WS1_URL=ws://192.168.8.10:19001/
VITE_BASE_WS2_URL=ws://192.168.8.10:19002/
# VITE_BASE_WS1_URL=ws://127.0.0.1:19001/
# VITE_BASE_WS2_URL=ws://127.0.0.1:19002/
VITE_BASE_WS2_URL=ws://192.168.8.10:19002/

2
.env.production

@ -0,0 +1,2 @@
VITE_BASE_WS1_URL=ws://127.0.0.1:19001/
VITE_BASE_WS2_URL=ws://127.0.0.1:19002/

2
publish.ps1

@ -17,4 +17,4 @@ ssh root:zwsd@192.168.8.10 "cd /frontend && ln -s /frontend/$now /frontend/dist"
ssh root:zwsd@192.168.8.10 "cd /frontend && rm -f app.zip"
Remove-Item -Path ./app.zip
# remove folder
Remove-Item -Path ./$now -Recurse
Remove-Item -Path ./$now -Recurse
Loading…
Cancel
Save