mirror of
https://github.com/vercel/commerce.git
synced 2025-07-25 19:21:23 +00:00
Remove 'spree' prefix from isomorphicConfig and add lastUpdatedProductsPrerenderCount
This commit is contained in:
@@ -93,7 +93,7 @@ export default function getSiteInfoOperation({
|
||||
SpreeSdkVariables
|
||||
>('__UNUSED__', {
|
||||
variables: createVariables(
|
||||
requireConfigValue('spreeCategoriesTaxonomyId') as string
|
||||
requireConfigValue('categoriesTaxonomyId') as string
|
||||
),
|
||||
})
|
||||
|
||||
@@ -106,7 +106,7 @@ export default function getSiteInfoOperation({
|
||||
SpreeSdkVariables
|
||||
>('__UNUSED__', {
|
||||
variables: createVariables(
|
||||
requireConfigValue('spreeBrandsTaxonomyId') as string
|
||||
requireConfigValue('brandsTaxonomyId') as string
|
||||
),
|
||||
})
|
||||
|
||||
|
@@ -20,7 +20,7 @@ const createApiFetch: (
|
||||
_getConfig
|
||||
) => {
|
||||
const client = makeClient({
|
||||
host: requireConfigValue('spreeApiHost') as string,
|
||||
host: requireConfigValue('apiHost') as string,
|
||||
fetcherType: 'custom',
|
||||
createFetcher: (fetcherOptions) => {
|
||||
return createCustomizedFetchFetcher({
|
||||
|
Reference in New Issue
Block a user