Initial commit: enterprise digital platform with portal SSO, DigiServer, IT Assets, NetworkView, Server Monitor

This commit is contained in:
ske087
2026-05-10 21:07:50 +03:00
commit 8d9df56b0b
364 changed files with 73655 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
// In production (Docker build) VITE_BASE_PATH=/networkview/ is injected.
// In development it falls back to '/' so the dev server works as-is.
const basePath = process.env.VITE_BASE_PATH ?? '/';
export default defineConfig({
plugins: [react()],
base: basePath,
server: {
port: 5173,
proxy: {
'/api': {
target: 'http://localhost:3001',
changeOrigin: true,
},
},
},
build: {
outDir: 'dist',
},
});