Default BONOB_WEB_ADDRESS to the hostname of the machine, error if localhost provided, clarify README.md.

This commit is contained in:
simojenki
2021-05-11 17:56:17 +10:00
parent 290229ef1c
commit 73981c7aa2
3 changed files with 11 additions and 5 deletions

View File

@@ -47,7 +47,7 @@
},
"scripts": {
"build": "tsc",
"dev": "BONOB_PORT=4000 BONOB_WEB_ADDRESS=http://$(hostname):4000 nodemon ./src/app.ts",
"dev": "BONOB_PORT=4000 nodemon ./src/app.ts",
"test": "jest",
"client-test": "ts-node tests/bonob_client.ts"
}