Files
PinchChat/.env.example
Nicolas Varrot e8fe3329f3 feat: add configurable client ID for WebSocket connect frame
Add a clientId option that can be set via:
- VITE_CLIENT_ID env var at build time
- Advanced section in the login screen at runtime
- Stored in localStorage with other credentials

Defaults to 'webchat' for backward compatibility. Users can set it
to 'openclaw-control-ui' to use OpenClaw's dangerouslyDisableDeviceAuth
bypass without post-install patching.

Closes #11
2026-02-23 14:41:15 +00:00

11 lines
417 B
Plaintext

# Optional: pre-fill the Gateway URL field on the login screen
# If not set, defaults to ws://<current-hostname>:18789
VITE_GATEWAY_WS_URL=ws://localhost:18789
# Optional: UI locale (default: en). Supported: en, fr
VITE_LOCALE=en
# Optional: client ID sent in the WebSocket connect frame (default: webchat)
# Set to "openclaw-control-ui" to use OpenClaw's dangerouslyDisableDeviceAuth bypass
VITE_CLIENT_ID=webchat