balibabu
commited on
Commit
·
1b8d2a4
1
Parent(s):
c6cd38e
feat: Proxy the api address to the local nginx address #2350 (#2366)
Browse files### 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)
- web/.umirc.ts +1 -1
web/.umirc.ts
CHANGED
@@ -30,7 +30,7 @@ export default defineConfig({
|
|
30 |
copy: ['src/conf.json'],
|
31 |
proxy: {
|
32 |
'/v1': {
|
33 |
-
target: 'http://
|
34 |
changeOrigin: true,
|
35 |
ws: true,
|
36 |
logger: console,
|
|
|
30 |
copy: ['src/conf.json'],
|
31 |
proxy: {
|
32 |
'/v1': {
|
33 |
+
target: 'http://127.0.0.1:9456/',
|
34 |
changeOrigin: true,
|
35 |
ws: true,
|
36 |
logger: console,
|