-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use new Oxygen variable formats for tokens etc #353
Comments
@jplhomer In |
It sounds like the old SHOPIFY_ prefixed ones have been deprecated. We might generate both sets today with the intention of only generating the non-SHOPIFY ones in the future. cc @max611 |
It's a bit tricky at the moment but here is a breakdown of how it works for now: Create new storefront: If the If the file is present, we assume the user is on Hydrogen v1.x but we don't know the exact version the user is using so we have to create the deprecated and new variables. More context in this issue The goal is to eventually remove the deprecated values from the connect flow but it will be easier once we launch V2. |
Description
Oxygen provides these variables out of the box:
We need to update
server.ts
to use these variable names in our templates so they work out of the box when deployed to Oxygen.We should also start passing the private API token to the storefront client as well.
The text was updated successfully, but these errors were encountered: