Skip to content

Commit ad83703

Browse files
committed
CCM-9750: absolute asset prefix
1 parent 178fde8 commit ad83703

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

frontend/next.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ const nextConfig = (phase) => {
1212
process.env.INCLUDE_AUTH_PAGES === 'true' || isDevServer;
1313

1414
return {
15-
assetPrefix: basePath,
15+
assetPrefix: isDevServer
16+
? undefined
17+
: 'https://miha12.web-gateway.dev.nhsnotify.national.nhs.uk/templates',
1618
basePath,
1719
env: {
1820
basePath,

0 commit comments

Comments
 (0)