MCPcopy Create free account
hub / github.com/nodejs/nodejs.org / getDeploymentId

Function getDeploymentId

apps/site/next.config.mjs:9–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7import { redirects, rewrites } from './next.rewrites.mjs';
8
9const getDeploymentId = async () => {
10 if (OPEN_NEXT_CLOUDFLARE) {
11 // If we're building for the Cloudflare deployment we want to set
12 // an appropriate deploymentId (needed for skew protection)
13 const openNextAdapter = await import('@opennextjs/cloudflare');
14
15 return openNextAdapter.getDeploymentId();
16 }
17
18 return undefined;
19};
20
21/** @type {import('next').NextConfig} */
22const nextConfig = {

Callers 1

next.config.mjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected