diff --git a/app-dist/static/dashboard.js b/app-dist/static/dashboard.js index 699f370..860e6eb 100644 --- a/app-dist/static/dashboard.js +++ b/app-dist/static/dashboard.js @@ -307,7 +307,7 @@ eval("module.exports = JSON.parse(\"{\\\"development\\\":true,\\\"defaultMinuteS /******/ /******/ /* webpack/runtime/getFullHash */ /******/ (() => { -/******/ __webpack_require__.h = () => "1ff921cdf096eb2653ee" +/******/ __webpack_require__.h = () => "e6dd73ef8a516aebb679" /******/ })(); /******/ /******/ /* webpack/runtime/global */ diff --git a/server/src/.env b/server/src/.env deleted file mode 100644 index 16a130a..0000000 --- a/server/src/.env +++ /dev/null @@ -1,6 +0,0 @@ -PORT=4040 -SERVER_ROOT=/climate -MYSQL_ADDRESS=192.168.0.198 -MYSQL_USERNAME=admin -MYSQL_PW=sekna123jk -SENSOR_PING_INTERVAL=30 \ No newline at end of file diff --git a/server/src/main.ts b/server/src/main.ts index 6e37d07..d4169a1 100644 --- a/server/src/main.ts +++ b/server/src/main.ts @@ -5,7 +5,7 @@ import {setupCollections} from "./Collections"; import path from "path"; import {startSensorPinger} from "./pingSensors"; -dotenv.config({ path: path.resolve(__dirname + "./.env") }); +dotenv.config({ path: path.resolve(__dirname + "/.env") }); const SERVER_ROOT = process.env.SERVER_ROOT ?? "/"; async function main() {