api中信息修改

This commit is contained in:
fsy
2025-03-18 21:03:48 +08:00
parent 53493be75d
commit 375d94ab26
2 changed files with 55 additions and 55 deletions

View File

@@ -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/, ''),
// }
}
}