This commit is contained in:
beseira13
2026-01-19 12:03:44 -03:00
parent 7fb80533c9
commit b85c365412
27 changed files with 5888 additions and 0 deletions

17
vite.config.js Normal file
View File

@@ -0,0 +1,17 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/api-peru': {
target: 'https://ws-posvirtual-peru.sial.cl',
changeOrigin: true,
secure: false,
rewrite: (path) => path.replace(/^\/api-peru/, ''),
}
}
}
})