MCPcopy
hub / github.com/vercel/next.js / getDeploymentIdQuery

Function getDeploymentIdQuery

packages/next/src/shared/lib/deployment-id.ts:18–24  ·  view source on GitHub ↗
(ampersand = false)

Source from the content-addressed store, hash-verified

16}
17
18export function getDeploymentIdQuery(ampersand = false): string {
19 let id = getDeploymentId()
20 if (id) {
21 return `${ampersand ? '&' : '?'}dpl=${id}`
22 }
23 return ''
24}
25
26export function getAssetToken(): string | undefined {
27 return (

Callers

nothing calls this directly

Calls 1

getDeploymentIdFunction · 0.70

Tested by

no test coverage detected