Reestructuración modular integral de servicios, reorganización de gestión en docs/ y limpieza profunda del repositorio
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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'],
|
||||
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') }
|
||||
});
|
||||
Reference in New Issue
Block a user