Merged in revert-version (pull request #2128)

revert including version in layouts and api responses

* revert including version in layouts and api responses


Approved-by: Linus Flood
This commit is contained in:
Joakim Jäderberg
2025-05-16 12:57:17 +00:00
parent ec29664a60
commit 4f0c61f68f
8 changed files with 2 additions and 21 deletions

View File

@@ -303,10 +303,6 @@ 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) {