mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-01 20:27:45 +00:00
feat: 中转安全凭证;perf: 部署文件
This commit is contained in:
@@ -86,7 +86,12 @@ export const authOpenApiKey = async (req: NextApiRequest) => {
|
||||
|
||||
/* openai axios config */
|
||||
export const axiosConfig = {
|
||||
httpsAgent: global.httpsAgent
|
||||
httpsAgent: global.httpsAgent,
|
||||
headers: process.env.OPENAI_BASE_URL_AUTH
|
||||
? {
|
||||
auth: process.env.OPENAI_BASE_URL_AUTH
|
||||
}
|
||||
: {}
|
||||
};
|
||||
|
||||
/* delete invalid symbol */
|
||||
|
Reference in New Issue
Block a user