We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95cc0e6 commit e9320c6Copy full SHA for e9320c6
src/devtools.ts
@@ -242,7 +242,7 @@ function collectAndSendMetrics () {
242
}
243
244
function getWebSocketUrl () {
245
- const wsPort = process.env.WS_SERVER
+ const wsPort = process.env.WS_PORT
246
if (!wsPort) return null
247
248
const protocol = window.location.protocol === 'https:' ? 'wss:' : 'ws:'
src/env.d.ts
@@ -3,7 +3,7 @@ declare namespace NodeJS {
3
// Build configuration
4
NODE_ENV: 'development' | 'production'
5
SINGLE_FILE_BUILD?: string
6
- WS_SERVER?: string
+ WS_PORT?: string
7
DISABLE_SERVICE_WORKER?: string
8
CONFIG_JSON_SOURCE?: 'BUNDLED' | 'REMOTE'
9
LOCAL_CONFIG_FILE?: string
0 commit comments