fix(deploy): Anpassung des Deployment-Skripts und der .env.local-Datei
- Änderung des Verzeichnispfades im Deployment-Skript für das Frontend. - Aktualisierung der API- und WebSocket-URLs in der .env.local-Datei auf die Produktionsumgebung.
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
echo "=== YourPart Frontend Deployment ==="
|
echo "=== YourPart Frontend Deployment ==="
|
||||||
|
|
||||||
# 1. Zum Frontend-Verzeichnis wechseln
|
# 1. Zum Frontend-Verzeichnis wechseln
|
||||||
cd ~/yourpart3/frontend
|
cd frontend
|
||||||
|
|
||||||
# 2. Berechtigungen für dist-Verzeichnis korrigieren (falls vorhanden)
|
# 2. Berechtigungen für dist-Verzeichnis korrigieren (falls vorhanden)
|
||||||
if [ -d "dist" ]; then
|
if [ -d "dist" ]; then
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
VITE_API_BASE_URL=http://localhost:3001
|
VITE_API_BASE_URL=https://www.your-part.de
|
||||||
VITE_TINYMCE_API_KEY=xjqnfymt2wd5q95onkkwgblzexams6l6naqjs01x72ftzryg
|
VITE_TINYMCE_API_KEY=xjqnfymt2wd5q95onkkwgblzexams6l6naqjs01x72ftzryg
|
||||||
VITE_DAEMON_SOCKET=http://localhost:4551
|
VITE_DAEMON_SOCKET=ws://www.your-part.de:2020
|
||||||
|
VITE_CHAT_WS_URL=ws://www.your-part.de:1235
|
||||||
|
|||||||
Reference in New Issue
Block a user