mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-09-27 21:56:38 +08:00
Update common.ts
This commit is contained in:
parent
06472adea9
commit
2a8dd83440
@ -12,7 +12,6 @@ export async function requestOpenai(req: NextRequest) {
|
|||||||
console.log("[pathname: Azure?]", req.nextUrl.pathname);
|
console.log("[pathname: Azure?]", req.nextUrl.pathname);
|
||||||
const isAzure = req.nextUrl.pathname.includes("azure/deployments");
|
const isAzure = req.nextUrl.pathname.includes("azure/deployments");
|
||||||
//|| Boolean(serverConfig.azureUrl && serverConfig.azureUrl.includes(".models.ai.azure.com"))
|
//|| Boolean(serverConfig.azureUrl && serverConfig.azureUrl.includes(".models.ai.azure.com"))
|
||||||
console.log("[Auth Header Name]", authHeaderName);
|
|
||||||
var authValue,
|
var authValue,
|
||||||
authHeaderName = "";
|
authHeaderName = "";
|
||||||
if (isAzure) {
|
if (isAzure) {
|
||||||
|
Loading…
Reference in New Issue
Block a user