Files
dtic-DIIAA/servicios/nginx/dtic-bitacoras/frontend/vite.config.ts
T
Ricardo Monla 160da47f96 [P2606] WebServer NGINX: plan actualizado, ficha nodo, HTTPS operativo
- P2606: Plan v1.1 EN EJECUCIÓN. Fases 1-3 completadas.
- Ficha nodo srvv-nginx-rm.md. P2606 en adn/07_proyectos.md.
- Incluye cambios acumulados de sesiones anteriores.
2026-03-28 12:18:42 -03:00

23 lines
709 B
TypeScript

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
export default defineConfig({
plugins: [react()],
base: '/bitacoras/',
server: {
host: true,
port: 5173,
strictPort: true,
cors: true,
allowedHosts: ['ns8.frlr.utn.edu.ar', 'localhost', 'srv-ns8', 'srv-ns8.tail.dasuten', 'srv-ns8.tail.rmonla', '100.111.195.4'],
proxy: {
'/bitacoras/api': {
target: 'http://api:3001',
changeOrigin: true,
rewrite: (path: string) => path.replace(/^\/bitacoras\/api/, '/api')
}
}
},
define: { 'import.meta.env.VERSION': JSON.stringify('1.0.0') }
});