diff --git a/.env b/.env index fe3f0dd..5bd684a 100644 --- a/.env +++ b/.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/ \ No newline at end of file +VITE_BASE_WS2_URL=ws://192.168.8.10:19002/ \ No newline at end of file diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..f062081 --- /dev/null +++ b/.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/ \ No newline at end of file diff --git a/publish.ps1 b/publish.ps1 index ccf2df0..22fd9c8 100644 --- a/publish.ps1 +++ b/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 \ No newline at end of file +Remove-Item -Path ./$now -Recurse