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:
@@ -3,7 +3,6 @@ import "@scandic-hotels/design-system/normalize.css"
|
||||
import "@/app/globals.css"
|
||||
import "@scandic-hotels/design-system/design-system-new-deprecated.css"
|
||||
import "@scandic-hotels/design-system/style.css"
|
||||
import "@scandic-hotels/common/polyfills"
|
||||
|
||||
import { ReactQueryDevtools } from "@tanstack/react-query-devtools"
|
||||
import Script from "next/script"
|
||||
|
||||
@@ -3,7 +3,6 @@ import "@scandic-hotels/design-system/normalize.css"
|
||||
import "@/app/globals.css"
|
||||
import "@scandic-hotels/design-system/design-system-new-deprecated.css"
|
||||
import "@scandic-hotels/design-system/style.css"
|
||||
import "@scandic-hotels/common/polyfills"
|
||||
|
||||
import { ReactQueryDevtools } from "@tanstack/react-query-devtools"
|
||||
import Script from "next/script"
|
||||
|
||||
@@ -3,7 +3,6 @@ import "@scandic-hotels/design-system/normalize.css"
|
||||
import "@/app/globals.css"
|
||||
import "@scandic-hotels/design-system/design-system-new-deprecated.css"
|
||||
import "@scandic-hotels/design-system/style.css"
|
||||
import "@scandic-hotels/common/polyfills"
|
||||
|
||||
import { ReactQueryDevtools } from "@tanstack/react-query-devtools"
|
||||
import Script from "next/script"
|
||||
|
||||
@@ -3,7 +3,6 @@ import "@scandic-hotels/design-system/normalize.css"
|
||||
import "@/app/globals.css"
|
||||
import "@scandic-hotels/design-system/style.css"
|
||||
import "@scandic-hotels/design-system/design-system-new-deprecated.css"
|
||||
import "@scandic-hotels/common/polyfills"
|
||||
|
||||
import Script from "next/script"
|
||||
import { SessionProvider } from "next-auth/react"
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
import "@scandic-hotels/common/polyfills"
|
||||
|
||||
import { env } from "@/env/server"
|
||||
|
||||
import { getTitlePrefix } from "@/utils/metadata/title/getTitlePrefix"
|
||||
|
||||
import type { Metadata } from "next"
|
||||
@@ -8,6 +12,9 @@ export async function generateMetadata(): Promise<Metadata> {
|
||||
template: combineSegments([getTitlePrefix(), "%s", "Scandic Hotels"]),
|
||||
default: combineSegments([getTitlePrefix(), "Scandic Hotels"]),
|
||||
},
|
||||
other: {
|
||||
"x-release": env.RELEASE_TAG || "-",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user