including-modules

This commit is contained in:
Kismet Hasanaj
2026-05-03 00:14:08 +02:00
parent ec83a0d879
commit 39a8a128be
20434 changed files with 3906546 additions and 3 deletions
+14
View File
@@ -0,0 +1,14 @@
// This could also be a variable instead of a function, but some unit tests want to change the ID at
// runtime. Even though that would never happen in a real deployment.
export function getDeploymentId() {
return process.env.NEXT_DEPLOYMENT_ID;
}
export function getDeploymentIdQueryOrEmptyString() {
let deploymentId = getDeploymentId();
if (deploymentId) {
return `?dpl=${deploymentId}`;
}
return '';
}
//# sourceMappingURL=deployment-id.js.map