Skip to content

Commit 75fad0b

Browse files
Update apps/site/next.config.mjs
Co-authored-by: Claudio Wunder <cwunder@gnome.org> Signed-off-by: Dario Piotrowicz <dario.piotrowicz@gmail.com>
1 parent dbf3b69 commit 75fad0b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

apps/site/next.config.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ const getDeploymentId = async () => {
1010
if (OPEN_NEXT_CLOUDFLARE) {
1111
// If we're building for the Cloudflare deployment we want to set
1212
// an appropriate deploymentId (needed for skew protection)
13-
return (await import('@opennextjs/cloudflare')).getDeploymentId();
13+
const openNextAdapter = await import('@opennextjs/cloudflare');
14+
15+
return openNextAdapter.getDeploymentId();
1416
}
1517

1618
return undefined;

0 commit comments

Comments
 (0)