feat:聊天新增ai

This commit is contained in:
橙子
2024-07-21 13:37:56 +08:00
parent a0478279df
commit d9e91bcbf5
18 changed files with 240 additions and 112 deletions

View File

@@ -54,7 +54,7 @@ export default defineConfig(({ command, mode }) => {
bypass(req, res, options) {
const proxyUrl = options.target + options.rewrite(req.url);
console.log(proxyUrl);
// console.log(proxyUrl);
req.headers['X-req-proxyURL'] = proxyUrl;
res.setHeader('X-req-proxyURL', proxyUrl);