Skip to content

Commit

Permalink
fix: use the CDN when fetching sync tags
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Nov 18, 2024
1 parent e5858c3 commit 4acf6c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/next-loader/src/defineLive.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ export function defineLive(config: DefineSanityLiveOptions): {
revalidate: fetchOptions?.revalidate,
// tags: ['sanity'],
},
useCdn: true,
tag: [tag, 'fetch-sync-tags'].filter(Boolean).join('.'),
})

Expand Down

0 comments on commit 4acf6c4

Please sign in to comment.