mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-02-01 11:53:24 +08:00
前端代理地址修改
This commit is contained in:
parent
8742001982
commit
c439e66fa2
@ -37,7 +37,7 @@ export default defineConfig((env) => {
|
||||
open: false,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://146.56.190.29:7861',
|
||||
target: 'http://127.0.0.1:7861',
|
||||
changeOrigin: true, // 允许跨域
|
||||
rewrite: path => path.replace('/api/', ''),
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user