- 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.
23 lines
709 B
TypeScript
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') }
|
|
});
|