fixed config stuff

This commit is contained in:
Daniel Ledda
2021-11-27 14:19:41 +01:00
parent cd859beb9b
commit d0af60f7f4
2 changed files with 3 additions and 3 deletions

View File

@@ -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"
} }

View File

@@ -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"