feat: env-var-ize WS URL as CUSTOM_VITE_WS_URL, add .env.example
Docker Build (ARM64) / Build & Push (push) Successful in 50s

This commit is contained in:
2026-06-24 20:55:02 +02:00
parent a06c3d2e36
commit a8ee1c229e
4 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -435,7 +435,7 @@ function App(): JSX.Element {
return
}
const wsUrl = 'wss://excalidraw.forkless.com'
const wsUrl = import.meta.env.CUSTOM_VITE_WS_URL || 'wss://excalidraw.forkless.com'
websocketRef.current = new WebSocket(wsUrl)