We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0844df5 commit 72e5479Copy full SHA for 72e5479
.dockerignore
@@ -27,7 +27,6 @@ yarn-error.log*
27
28
# local env files
29
.env*.local
30
-.env
31
32
# vercel
33
.vercel
src/lib/SunoApi.ts
@@ -327,4 +327,8 @@ const newSunoApi = async (cookie: string) => {
327
return await sunoApi.init();
328
}
329
330
+if (! process.env.SUNO_COOKIE) {
331
+ console.log("Environment does not contain SUNO_COOKIE.", process.env)
332
+}
333
+
334
export const sunoApi = newSunoApi(process.env.SUNO_COOKIE || '');
0 commit comments