Update SunoApi.ts: Hotfix for CLERK_BASE_URL
from `clerk.suno.ai` to `clerk.suno.com`
This commit is contained in:
parent
82d70eb947
commit
0e74223756
@ -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 || '');
|
||||
export const sunoApi = newSunoApi(process.env.SUNO_COOKIE || '');
|
||||
|
Loading…
Reference in New Issue
Block a user