Homelabtoolkit v1

This commit is contained in:
2026-06-08 00:01:55 +12:00
parent c8838a485d
commit 040fbacc70
56 changed files with 12477 additions and 151 deletions
+18
View File
@@ -0,0 +1,18 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
// The FastAPI backend serves the built app from ./dist and owns every /api route.
// During `npm run dev` we proxy /api (and Emby/Navidrome image routes) to it.
export default defineConfig({
plugins: [react()],
build: {
outDir: "dist",
emptyOutDir: true,
},
server: {
port: 5173,
proxy: {
"/api": "http://localhost:8500",
},
},
});