Skip to content

Commit

Permalink
Only use 2023-01 for redirect request
Browse files Browse the repository at this point in the history
  • Loading branch information
blittle committed Nov 21, 2022
1 parent dc92f03 commit 1f495ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/hydrogen-remix/src/routing/redirect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export async function notFoundMaybeRedirect(
variables: {
url: pathname + search,
},
storefrontApiVersion: '2023-01',
});

if (urlRedirects?.edges?.length) {
Expand Down
2 changes: 1 addition & 1 deletion templates/demo-store/oxygen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const requestHandler = createRequestHandler({
const storefrontConfig = {
publicStorefrontToken: '3b580e70970c4528da70c98e097c2fa0',
storeDomain: 'hydrogen-preview',
storefrontApiVersion: '2023-01',
storefrontApiVersion: '2022-10',
};

export default {
Expand Down

0 comments on commit 1f495ad

Please sign in to comment.