Skip to content

Commit 72e5479

Browse files
committed
fix the docker path
1 parent 0844df5 commit 72e5479

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.dockerignore

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ yarn-error.log*
2727

2828
# local env files
2929
.env*.local
30-
.env
3130

3231
# vercel
3332
.vercel

src/lib/SunoApi.ts

+4
Original file line numberDiff line numberDiff line change
@@ -327,4 +327,8 @@ const newSunoApi = async (cookie: string) => {
327327
return await sunoApi.init();
328328
}
329329

330+
if (! process.env.SUNO_COOKIE) {
331+
console.log("Environment does not contain SUNO_COOKIE.", process.env)
332+
}
333+
330334
export const sunoApi = newSunoApi(process.env.SUNO_COOKIE || '');

0 commit comments

Comments
 (0)