Ver código fonte
feat: Proxy the api address to the local nginx address #2350 (#2366)
### What problem does this PR solve?
feat: Proxy the api address to the local nginx address #2350
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
tags/v0.11.0
balibabu
1 ano atrás
Nenhuma conta vinculada ao e-mail do autor do commit
|
|
|
@@ -30,7 +30,7 @@ export default defineConfig({ |
|
|
|
copy: ['src/conf.json'], |
|
|
|
proxy: { |
|
|
|
'/v1': { |
|
|
|
target: 'http://localhost:9380/', |
|
|
|
target: 'http://127.0.0.1:9456/', |
|
|
|
changeOrigin: true, |
|
|
|
ws: true, |
|
|
|
logger: console, |