fix: tolerate empty NEXT_PUBLIC_APP_URL during production build
This commit is contained in:
@@ -261,7 +261,7 @@ async function generateArt(episode: EpisodeWithRelations) {
|
||||
}
|
||||
|
||||
async function notifyReady(episode: EpisodeWithRelations) {
|
||||
const appUrl = process.env.NEXT_PUBLIC_APP_URL ?? "http://localhost:3000";
|
||||
const appUrl = process.env.NEXT_PUBLIC_APP_URL || "http://localhost:3000";
|
||||
try {
|
||||
await sendEmail({
|
||||
to: episode.user.email,
|
||||
|
||||
Reference in New Issue
Block a user