Skip to content

Commit 33c9965

Browse files
committed
update next config
1 parent a116ac0 commit 33c9965

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

next.config.mjs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ const nextConfig = withNextIntl({
2222
hostname: backendUrl.hostname,
2323
},
2424
{
25-
protocol: platformUrl.protocol.slice(0, -1),
26-
hostname: platformUrl.hostname
25+
protocol: platformUrl.protocol.replace(':', ''),
26+
hostname: platformUrl.hostname,
27+
port: platformUrl.port || '', // empty string if no port
28+
pathname: '/**',
2729
},
2830
],
2931
},

0 commit comments

Comments
 (0)