Merged in feat/add-version-to-responses (pull request #2118)
feature: add a version tag to responses SW-2792 * feature: add a version tag to responses Approved-by: Linus Flood
This commit is contained in:
4
apps/scandic-web/env/server.ts
vendored
4
apps/scandic-web/env/server.ts
vendored
@@ -303,6 +303,10 @@ export const env = {
|
||||
..._env,
|
||||
NEW_SITE_LIVE_STATUS: getLiveStatus(_env),
|
||||
isLangLive: (lang: Lang) => isLangLive(lang, _env.NEW_SITE_LIVE_FOR_LANGS),
|
||||
VERSION:
|
||||
process.env.NODE_ENV === "development"
|
||||
? "development"
|
||||
: (_env.GIT_SHA ?? "unknown"),
|
||||
} as const
|
||||
|
||||
function replaceTopLevelDomain(url: string, domain: string) {
|
||||
|
||||
Reference in New Issue
Block a user