just use window.location
This commit is contained in:
parent
18a86af62b
commit
abd01492db
2 changed files with 3 additions and 3 deletions
|
@ -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"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue