Skip to content

Commit 6ebdb17

Browse files
committedFeb 2, 2025
replace VERCEL_URL env variable with custom set NEXT_PUBLIC_DOMAIN in assetPrefix
1 parent 8903a8b commit 6ebdb17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎apps/web/next.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const nextConfig = {
5050
basePath: '',
5151
assetPrefix:
5252
process.env.NODE_ENV === 'production'
53-
? `https://${process.env.VERCEL_URL}`
53+
? `https://${process.env.NEXT_PUBLIC_DOMAIN}`
5454
: undefined,
5555
headers: async () => [
5656
{

0 commit comments

Comments
 (0)