Commit 2457c94 1 parent 1d870d8 commit 2457c94 Copy full SHA for 2457c94
File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 24
24
id : sync
25
25
26
26
with :
27
- upstream_sync_repo : Yidadaa /ChatGPT-Next-Web
27
+ upstream_sync_repo : realDuang /ChatGPT-Next-Web
28
28
upstream_sync_branch : main
29
29
target_sync_branch : main
30
30
target_repo_token : ${{ secrets.GITHUB_TOKEN }} # automatically generated, no need to set
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ export async function requestOpenai(req: NextRequest) {
49
49
} ;
50
50
51
51
const AZURE_ENDPOINT = process . env . AZURE_ENDPOINT ;
52
- if ( ! ! AZURE_ENDPOINT && AZURE_ENDPOINT . endsWith ( " openai.azure.com" ) ) {
52
+ if ( ! ! AZURE_ENDPOINT && / o p e n a i \ .a z u r e \ .c o m \/ ? $ / . test ( AZURE_ENDPOINT ) ) {
53
53
const AZURE_API_KEY = process . env . AZURE_API_KEY ;
54
54
const AZURE_DEPLOY_NAME = process . env . AZURE_DEPLOY_NAME ;
55
55
You can’t perform that action at this time.
0 commit comments