diff --git a/src/hooks.server.ts b/src/hooks.server.ts index c91458f..2df9d31 100644 --- a/src/hooks.server.ts +++ b/src/hooks.server.ts @@ -6,7 +6,7 @@ import { CONTENTFUL_PREVIEW_FLAG, CONTENTFUL_PREVIEW_KEY, CONTENTFUL_SPACE_ID, -} from "$env/static/private"; +} from "$env/dynamic/private"; import { ContentWrapper } from "$lib/utils/api"; const contentfulPreviewSearchParam = "preview";