add temp and humidity from tent, split departures depending on direction

This commit is contained in:
2025-07-30 19:56:19 +02:00
parent ab1d2242c3
commit 09928f0f61
12 changed files with 186 additions and 50 deletions

View File

@@ -1,6 +1,6 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
import path from "node:path";
import react from "@vitejs/plugin-react-swc";
import { defineConfig } from "vite";
// https://vite.dev/config/
export default defineConfig({
@@ -16,4 +16,14 @@ export default defineConfig({
"@slices": path.resolve(__dirname, "src/store/slices"),
},
},
server: {
proxy: {
"/api": {
target: "https://home.rivercry.com",
changeOrigin: true,
secure: false,
rewrite: (path) => path.replace(/^\/api/, "/api"),
},
},
},
});