Major Refactor

This commit is contained in:
2025-09-01 16:42:44 -04:00
parent 76cbca94e3
commit 992a1a217d
69 changed files with 12683 additions and 8082 deletions

View File

@@ -1,13 +1,29 @@
// vite.config.ts
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
plugins: [vue()],
resolve: {},
build: {
sourcemap: true,
chunkSizeWarningLimit: 1600,
assetsInlineLimit: 2048, // 2kb
},
server: {
host: '0.0.0.0',
port: 5173,
proxy: {
// Rule #1: Handle all search requests
'/search': {
target: 'http://backend_office_dev:4056',
changeOrigin: true,
},
// Rule #2 (NEW): Handle all authentication requests
'/auth': {
target: 'http://backend_office_dev:4056',
changeOrigin: true,
},
// Add more rules here for your other API blueprints if needed
// For example, if you have delivery routes:
// '/delivery': {
// target: 'http://backend_office_dev:4056',
// changeOrigin: true,
// },
}
}
})