Skip to content

Commit 60e8292

Browse files
authored
pull out !IS_DEV_ENV
Signed-off-by: Aviv Keller <me@aviv.sh>
1 parent 3b1a62d commit 60e8292

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/site/next.constants.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const VERCEL_REGION = process.env.VERCEL_REGION || undefined;
3333
* This helps identify cases where the application is running outside of Vercel's runtime environment.
3434
*/
3535
export const IS_NOT_VERCEL_RUNTIME_ENV =
36-
(!IS_DEV_ENV && VERCEL_ENV && !VERCEL_REGION) || (!IS_DEV_ENV && !VERCEL_ENV);
36+
!IS_DEV_ENV && ((VERCEL_ENV && !VERCEL_REGION) || !VERCEL_ENV);
3737

3838
/**
3939
* This is used for telling Next.js to do a Static Export Build of the Website

0 commit comments

Comments
 (0)