@@ -89,7 +89,7 @@ const ApiMenu = ({
type='text'
className='text-gray-800 dark:text-white p-3 text-sm border-none bg-gray-200 dark:bg-gray-600 rounded-md m-0 w-full mr-0 h-8 focus:outline-none'
value={_apiFreeEndpoint}
- placeholder='https://chatgpt-api-huuz62kfra-as.a.run.app/v1/'
+ placeholder='https://chatgpt-api.shn.hk/v1/'
onChange={(e) => {
_setApiFreeEndpoint(e.target.value);
}}
diff --git a/src/store/auth-slice.ts b/src/store/auth-slice.ts
index dc02bd8..e99f841 100644
--- a/src/store/auth-slice.ts
+++ b/src/store/auth-slice.ts
@@ -11,7 +11,7 @@ export interface AuthSlice {
export const createAuthSlice: StoreSlice
= (set, get) => ({
apiFree: true,
- apiFreeEndpoint: 'https://chatgpt-api-huuz62kfra-as.a.run.app/v1/',
+ apiFreeEndpoint: 'https://chatgpt-api.shn.hk/v1/',
setApiKey: (apiKey: string) => {
set((prev: AuthSlice) => ({
...prev,