diff --git a/dashboard/src/config.json b/dashboard/src/config.json index 5624b06..0bedc3f 100644 --- a/dashboard/src/config.json +++ b/dashboard/src/config.json @@ -1,6 +1,6 @@ { - "development": true, + "development": false, "defaultMinuteSpan": 60, "reloadIntervalSec": 30, - "dataEndpoint": "http://192.168.178.21:4040/climate/api" + "dataEndpoint": "/climate/api" } diff --git a/package.json b/package.json index 99ee579..559304c 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Server API and frontend dashboard for monitoring climate stats with the Raspberry Pi", "scripts": { "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", "dashboard-static": "cd ./dashboard && npm run build-watch", "dashboard-serve": "cd ./dashboard && npm run dev"