mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-19 19:55:51 +00:00
* clean up utils * more cleanup * remove client.sign * remove unneeded tests * remove unneeded infra * move helper functions to separate files * fix linter issues * more cleanup * make helper functions more generally useful * fix test account funding * add import note to README * lint browser tests * run eslint --fix
7 lines
231 B
TypeScript
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
|