Private
Public Access
fix: correjidas reglas del proxy
This commit is contained in:
1 parent
8464a0fd1d
commit
52fc779abd
1 file changed
+2
-3
@@ -7,9 +7,8 @@ export default defineConfig({
|
||||
server: {
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:8080',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api/, '')
|
||||
target: 'http://localhost:80',
|
||||
changeOrigin: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user