From 0e74223756b6c726f2051839052480e88458665e Mon Sep 17 00:00:00 2001 From: Andy Fang <85933136+andy-fang-piccollage@users.noreply.github.com> Date: Wed, 10 Apr 2024 12:54:19 +0800 Subject: [PATCH] Update SunoApi.ts: Hotfix for CLERK_BASE_URL from `clerk.suno.ai` to `clerk.suno.com` --- src/lib/SunoApi.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/SunoApi.ts b/src/lib/SunoApi.ts index b77b98c..cde4851 100644 --- a/src/lib/SunoApi.ts +++ b/src/lib/SunoApi.ts @@ -27,7 +27,7 @@ export interface AudioInfo { class SunoApi { private static BASE_URL: string = 'https://studio-api.suno.ai'; - private static CLERK_BASE_URL: string = 'https://clerk.suno.ai'; + private static CLERK_BASE_URL: string = 'https://clerk.suno.com'; private readonly client: AxiosInstance; private sid?: string; @@ -327,4 +327,4 @@ const newSunoApi = async (cookie: string) => { return await sunoApi.init(); } -export const sunoApi = newSunoApi(process.env.SUNO_COOKIE || ''); \ No newline at end of file +export const sunoApi = newSunoApi(process.env.SUNO_COOKIE || '');