Sfoglia il codice sorgente
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 anno fa
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con
1 aggiunte e
1 eliminazioni
-
web/.umirc.ts
|
|
|
@@ -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, |