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