Skip to content

Commit 74ebc05

Browse files
authored
fix: fix STORYBLOK_PUBLIC_TOKEN undefined (#481)
1 parent ceeb76a commit 74ebc05

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils/constants.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ export const crispWebsiteId = getEnv(process.env.CRISP_WEBSITE_ID, 'CRISP_WEBSIT
118118

119119
export const slackWebhookUrl = getEnv(process.env.SLACK_WEBHOOK_URL, 'SLACK_WEBHOOK_URL');
120120

121-
export const storyblokToken = getEnv(process.env.STORYBLOK_PUBLIC_TOKEN, 'STORYBLOK_PUBLIC_TOKEN');
121+
export const storyblokToken =
122+
getEnv(process.env.STORYBLOK_PUBLIC_TOKEN, 'STORYBLOK_PUBLIC_TOKEN') || '';
122123

123124
export const storyblokWebhookSecret = getEnv(
124125
process.env.STORYBLOK_WEBHOOK_SECRET,

0 commit comments

Comments
 (0)