Skip to content

Commit

Permalink
chore: fix remix build
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan authored Aug 13, 2023
1 parent de519d6 commit 16f88b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/remix/app/sanity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const client = createClient({
perspective: 'published',
})

export const token = process.env.SANITY_API_READ_TOKEN!
export const token = typeof process === 'undefined' ? '' : process.env.SANITY_API_READ_TOKEN!

const DEFAULT_PARAMS = {} as QueryParams
export async function sanityFetch<QueryResponse>({
Expand Down

5 comments on commit 16f88b4

@vercel
Copy link

@vercel vercel bot commented on 16f88b4 Aug 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

preview-kit-next-pages-router-live-store – ./apps/next-pages-router

preview-kit-next-pages-router-live-store-git-main.sanity.build
preview-kit-next-pages-router-live-store.sanity.build

@vercel
Copy link

@vercel vercel bot commented on 16f88b4 Aug 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

preview-kit-next-app-router-groq-store – ./apps/next-app-router

preview-kit-next-app-router-groq-store.sanity.build
preview-kit-next-app-router-groq-store-git-main.sanity.build

@vercel
Copy link

@vercel vercel bot commented on 16f88b4 Aug 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

preview-kit-remix – ./apps/remix

preview-kit-remix.sanity.build
preview-kit-remix-git-main.sanity.build

@vercel
Copy link

@vercel vercel bot commented on 16f88b4 Aug 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

preview-kit-remix-groq-store – ./apps/remix

preview-kit-remix-groq-store.sanity.build
preview-kit-remix-groq-store-git-main.sanity.build

@vercel
Copy link

@vercel vercel bot commented on 16f88b4 Aug 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

preview-kit-remix-live-store – ./apps/remix

preview-kit-remix-live-store.sanity.build
preview-kit-remix-live-store-git-main.sanity.build

Please sign in to comment.