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:
Torsten Schulz (local)
2025-09-03 14:38:14 +02:00
parent 9522abcd20
commit f43c86e2aa
2 changed files with 4 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
echo "=== YourPart Frontend Deployment ==="
# 1. Zum Frontend-Verzeichnis wechseln
cd ~/yourpart3/frontend
cd frontend
# 2. Berechtigungen für dist-Verzeichnis korrigieren (falls vorhanden)
if [ -d "dist" ]; then

View File

@@ -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_DAEMON_SOCKET=http://localhost:4551
VITE_DAEMON_SOCKET=ws://www.your-part.de:2020
VITE_CHAT_WS_URL=ws://www.your-part.de:1235