Skip to content

Commit fc2c34c

Browse files
committed
add the token to the cli context
1 parent b049a3b commit fc2c34c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web/app/lib/context.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export async function createHydrogenRouterContext(
4343
projectId: env.SANITY_PROJECT_ID,
4444
dataset: env.SANITY_DATASET,
4545
apiVersion: env.SANITY_API_VERSION || '2025-08-27',
46+
token: env.SANITY_API_TOKEN,
4647
useCdn: true,
4748
stega: {
4849
enabled: isPreviewEnabled(env.SANITY_PROJECT_ID, previewSession),

0 commit comments

Comments
 (0)