common code

This commit is contained in:
2025-09-17 12:03:14 -04:00
parent 090af0f477
commit 50376f71a8
22 changed files with 3145 additions and 390 deletions

View File

@@ -4,5 +4,13 @@ import react from '@vitejs/plugin-react-swc'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
server: {'host':'0.0.0.0'}
server: {'host':'0.0.0.0',
'proxy':{
'/api': {
target: 'http://192.168.1.242:5003',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
}
}
}
})