Used wss instead of ws.

This commit is contained in:
2026-01-19 04:35:23 +00:00
committed by sonderau
parent 2e1bf0c652
commit 2435cf5f20
2 changed files with 6 additions and 0 deletions

View File

@@ -13,6 +13,10 @@ WorkingDirectory=/home/sonder/leagues-tools-dev/os-league-tools-master
Environment="NODE_ENV=development"
Environment="PORT=3001"
Environment="HOST=0.0.0.0"
# WebSocket config for hot reload through reverse proxy
Environment="WDS_SOCKET_PROTOCOL=wss"
Environment="WDS_SOCKET_HOST=dev.leagues.tools"
Environment="WDS_SOCKET_PORT=443"
# Start the dev server with hot reload
ExecStart=/usr/bin/npm run dev