fix: adds host to initPage req creation (#6476)

This commit is contained in:
Jarrod Flesch
2024-05-23 11:04:35 -04:00
committed by GitHub
parent 78579ed2bd
commit 72c0534008

View File

@@ -52,6 +52,7 @@ export const initPage = async ({
fallbackLocale: null, fallbackLocale: null,
locale: locale.code, locale: locale.code,
req: { req: {
host: headers.get('host'),
i18n, i18n,
query: qs.parse(queryString, { query: qs.parse(queryString, {
depth: 10, depth: 10,