From d0af60f7f4a0434ac57ba9a6ce3b21488da994ca Mon Sep 17 00:00:00 2001 From: Daniel Ledda Date: Sat, 27 Nov 2021 14:19:41 +0100 Subject: [PATCH] fixed config stuff --- dashboard/src/config.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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"