diff --git a/src/components/ApiMenu/ApiMenu.tsx b/src/components/ApiMenu/ApiMenu.tsx index 15dc267..49377e3 100644 --- a/src/components/ApiMenu/ApiMenu.tsx +++ b/src/components/ApiMenu/ApiMenu.tsx @@ -79,7 +79,7 @@ const ApiMenu = ({ > Ayaka - : https://chatgpt-api.shn.hk/v1/ or enter your own API endpoint + : https://chatgpt-api-huuz62kfra-as.a.run.app/v1/ or enter your own API endpoint
@@ -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.shn.hk/v1/' + placeholder='https://chatgpt-api-huuz62kfra-as.a.run.app/v1/' onChange={(e) => { _setApiFreeEndpoint(e.target.value); }} diff --git a/src/store/auth-slice.ts b/src/store/auth-slice.ts index e99f841..dc02bd8 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.shn.hk/v1/', + apiFreeEndpoint: 'https://chatgpt-api-huuz62kfra-as.a.run.app/v1/', setApiKey: (apiKey: string) => { set((prev: AuthSlice) => ({ ...prev,