Files
xahau.js/packages/xahau/test/integration/serverUrl.ts
Denis Angell 9544e1794e xahau-patch
2025-03-14 15:08:35 +01:00

7 lines
231 B
TypeScript

/* eslint-disable node/no-process-env -- needed to find standalone connection */
const HOST = process.env.HOST ?? '0.0.0.0'
const PORT = process.env.PORT ?? '6006'
const serverUrl = `ws://${HOST}:${PORT}`
export default serverUrl