just use window.location

This commit is contained in:
Wavering Ana 2025-01-31 19:14:57 -05:00
parent 18a86af62b
commit abd01492db
2 changed files with 3 additions and 3 deletions

View file

@ -5,14 +5,14 @@ import path from "path"
export default defineConfig(() => ({
plugins: [react(), tailwindcss()],
server: {
/*server: {
proxy: {
'/api': {
target: process.env.VITE_API_URL || 'http://localhost:8080',
changeOrigin: true,
},
},
},
},*/
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),