api中信息修改
This commit is contained in:
@@ -25,11 +25,11 @@ export default defineConfig({
|
||||
'Authorization': 'Basic OGRkM2EzOGUxNTJjNGU1NDlmNWMwOTg0YmRhYzc1ZTE6ZWY1MTI2ZTRmMWFlNGE5MWE0MzVhN2Q0ZDc0YzNlYjg=',
|
||||
}
|
||||
},
|
||||
'/llm-api':{
|
||||
target:'https://vip.apiyi.com/v1/chat/completions',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/llm-api/, ''),
|
||||
}
|
||||
// '/llm-api':{
|
||||
// target:'https://vip.apiyi.com/v1/chat/completions',
|
||||
// changeOrigin: true,
|
||||
// rewrite: (path) => path.replace(/^\/llm-api/, ''),
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user