Skip to content

Commit 6f9a83f

Browse files
committed
updated config for custom domain
1 parent 3569dac commit 6f9a83f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

next.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
const nextConfig = {
33
output: process.env.NODE_ENV === 'production' ? 'export' : undefined,
44
trailingSlash: true,
5-
basePath: process.env.NODE_ENV === 'production' ? '/CadeXRPortfolio2025' : '',
6-
assetPrefix: process.env.NODE_ENV === 'production' ? '/CadeXRPortfolio2025/' : '',
5+
basePath: '',
6+
assetPrefix: '',
77
images: {
88
unoptimized: process.env.NODE_ENV === 'production',
9-
domains: ['localhost'],
9+
domains: ['localhost', 'cadedev.com'],
1010
formats: ['image/webp', 'image/avif'],
1111
},
1212
compiler: {

0 commit comments

Comments
 (0)