Merged in chore/add-release-version-meta-tag (pull request #3399)
Add release version meta tag + preview environment * include release version in meta tag do polyfills in one place * fix: add preview as a named sentry environment Approved-by: Linus Flood
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import "@scandic-hotels/common/polyfills"
|
||||
|
||||
import { env } from "@/env/server"
|
||||
import { configureTrpc } from "@/lib/trpc"
|
||||
|
||||
import { getTitlePrefix } from "@/util/metadata/getTitlePrfiex"
|
||||
@@ -18,6 +19,9 @@ export async function generateMetadata(): Promise<Metadata> {
|
||||
]),
|
||||
default: combineSegments([getTitlePrefix(), "SAS by Scandic Hotels"]),
|
||||
},
|
||||
other: {
|
||||
"x-release": env.RELEASE_TAG || "-",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user