Files
root f56b088643
Base Image Build / prepare (push) Has been cancelled
Build and Push Multi-Arch Docker Image / build-and-push (push) Has been cancelled
Frontend Tests / test (push) Has been cancelled
Base Image Build / docker (amd64, ubuntu-24.04) (push) Has been cancelled
Base Image Build / docker (arm64, ubuntu-24.04-arm) (push) Has been cancelled
Base Image Build / create-manifest (push) Has been cancelled
Proyecto LCX Dispatcharr multicuenta
2026-05-09 21:24:50 +02:00

36 lines
979 B
JavaScript

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react-swc';
// https://vite.dev/config/
export default defineConfig({
// The base URL for the build, adjust this to match your desired path
plugins: [react()],
// publicDir: '/data',
server: {
port: 9191,
// proxy: {
// "/api": {
// target: "http://localhost:5656", // Backend server
// changeOrigin: true,
// secure: false, // Set to true if backend uses HTTPS
// // rewrite: (path) => path.replace(/^\/api/, ""), // Optional path rewrite
// },
// "/ws": {
// target: "http://localhost:8001", // Backend server
// changeOrigin: true,
// secure: false, // Set to true if backend uses HTTPS
// // rewrite: (path) => path.replace(/^\/api/, ""), // Optional path rewrite
// },
// },
},
test: {
environment: 'jsdom',
setupFiles: ['./src/test/setupTests.js'],
globals: true,
},
});