vite changes; table edit fix

This commit is contained in:
2025-02-10 22:26:30 -06:00
parent a4b1e55968
commit 93d1a8a803
3 changed files with 6 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ export default defineConfig(({ mode }) => {
host: '0.0.0.0',
proxy: {
'/api': {
target: `http://localhost:5000/${env.VITE_BASE_URL}`,
target: `${env.VITE_DOMAIN_DEV}/${env.VITE_BASE_URL}`,
changeOrigin: false,
secure: false,
},
@@ -23,7 +23,7 @@ export default defineConfig(({ mode }) => {
host: '0.0.0.0',
proxy: {
api: {
target: 'http://localhost:5000',
target: `${env.VITE_DOMAIN_DEV}`,
changeOrigin: false,
secure: false,
},