From e0155e3f4fe9b44984154f57b7386e368b5e556a Mon Sep 17 00:00:00 2001 From: Jing Hua Date: Sun, 19 Mar 2023 13:33:53 +0800 Subject: [PATCH] set sharegpt api endpoint as default --- src/constants/auth.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/constants/auth.ts b/src/constants/auth.ts index ba08a33..13d889e 100644 --- a/src/constants/auth.ts +++ b/src/constants/auth.ts @@ -1,8 +1,9 @@ -export const defaultAPIEndpoint = 'https://chatgpt-api.shn.hk/v1/'; +export const defaultAPIEndpoint = + 'https://sharegpt.churchless.tech/share/v1/chat'; export const officialAPIEndpoint = 'https://api.openai.com/v1/chat/completions'; export const availableEndpoints = [ - 'https://chatgpt-api.shn.hk/v1/', 'https://sharegpt.churchless.tech/share/v1/chat', + 'https://chatgpt-api.shn.hk/v1/', officialAPIEndpoint, ];