remove default env values. correct package json with env vars .

This commit is contained in:
Первов Артем
2026-06-19 09:41:16 +03:00
parent 10dbdb2120
commit cbe33500cf
7 changed files with 8 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
import type { IncomingMessage } from 'http'
import { WebSocket, WebSocketServer } from 'ws'
const wsPort = Number(process.env.WS_PORT ?? 9090)
const wsPort = Number(process.env.WS_PORT)
const wss = new WebSocketServer({ port: wsPort, perMessageDeflate: false })
const clients = new Set<WebSocket>()