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: {
|
server: {
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
target: 'http://localhost:8080',
|
target: 'http://localhost:80',
|
||||||
changeOrigin: true,
|
changeOrigin: true
|
||||||
rewrite: (path) => path.replace(/^\/api/, '')
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user