Refactor daemon URL configuration and enhance logging

- Improved fallback logic for daemon URL based on hostname and environment
- Added detailed logging for daemon connection status and environment settings
- Streamlined handling of environment variables for better clarity
This commit is contained in:
Torsten Schulz (local)
2025-11-18 08:50:25 +01:00
parent 016a37c116
commit 27b675cb19
3 changed files with 170 additions and 78 deletions

5
frontend/.env.production Normal file
View File

@@ -0,0 +1,5 @@
VITE_API_BASE_URL=https://www.your-part.de
VITE_TINYMCE_API_KEY=xjqnfymt2wd5q95onkkwgblzexams6l6naqjs01x72ftzryg
VITE_DAEMON_SOCKET=wss://www.your-part.de:4551
VITE_CHAT_WS_URL=wss://www.your-part.de:1235
VITE_SOCKET_IO_URL=https://www.your-part.de:4443