fixed config stuff
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"development": true,
|
"development": false,
|
||||||
"defaultMinuteSpan": 60,
|
"defaultMinuteSpan": 60,
|
||||||
"reloadIntervalSec": 30,
|
"reloadIntervalSec": 30,
|
||||||
"dataEndpoint": "http://192.168.178.21:4040/climate/api"
|
"dataEndpoint": "/climate/api"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"description": "Server API and frontend dashboard for monitoring climate stats with the Raspberry Pi",
|
"description": "Server API and frontend dashboard for monitoring climate stats with the Raspberry Pi",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "concurrently -p \"[{name}]\" -n \"server,dashboard\" -c \"bgBlue.gray.bold,bgMagenta.gray.bold\" \"npm:server\" \"npm:dashboard-static\"",
|
"start": "concurrently -p \"[{name}]\" -n \"server,dashboard\" -c \"bgBlue.gray.bold,bgMagenta.gray.bold\" \"npm:server\" \"npm:dashboard-static\"",
|
||||||
"build": "sh ./build.sh",
|
"build": "sh ./setup.sh",
|
||||||
"server": "cd ./server && npm run dev",
|
"server": "cd ./server && npm run dev",
|
||||||
"dashboard-static": "cd ./dashboard && npm run build-watch",
|
"dashboard-static": "cd ./dashboard && npm run build-watch",
|
||||||
"dashboard-serve": "cd ./dashboard && npm run dev"
|
"dashboard-serve": "cd ./dashboard && npm run dev"
|
||||||
|
|||||||
Reference in New Issue
Block a user