From f43c86e2aae55f4bf35ef2ebc7608e5584e95d37 Mon Sep 17 00:00:00 2001 From: "Torsten Schulz (local)" Date: Wed, 3 Sep 2025 14:38:14 +0200 Subject: [PATCH] fix(deploy): Anpassung des Deployment-Skripts und der .env.local-Datei MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Änderung des Verzeichnispfades im Deployment-Skript für das Frontend. - Aktualisierung der API- und WebSocket-URLs in der .env.local-Datei auf die Produktionsumgebung. --- deploy-frontend.sh | 2 +- frontend/.env.local | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/deploy-frontend.sh b/deploy-frontend.sh index eb2262b..f3fea65 100755 --- a/deploy-frontend.sh +++ b/deploy-frontend.sh @@ -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 diff --git a/frontend/.env.local b/frontend/.env.local index 86ccfc3..43744dc 100644 --- a/frontend/.env.local +++ b/frontend/.env.local @@ -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 \ No newline at end of file +VITE_DAEMON_SOCKET=ws://www.your-part.de:2020 +VITE_CHAT_WS_URL=ws://www.your-part.de:1235