Comments (1)
If you are talking about the following:
![image](https://private-user-images.githubusercontent.com/1634092/287773335-e744f006-aaed-4ea0-8bb6-a33f4ac66a06.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIwNzY2NDEsIm5iZiI6MTcyMjA3NjM0MSwicGF0aCI6Ii8xNjM0MDkyLzI4Nzc3MzMzNS1lNzQ0ZjAwNi1hYWVkLTRlYTAtOGJiNi1hMzNmNGFjNjZhMDYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjdUMTAzMjIxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YjU3YWZiM2U4YzQ3Y2Y1OGUzNmEyN2FmMDAwOWRiZWViZDdmOTE5OGEzZDM2ZDFjZTkyOWY2YzIyYjhjYzM3ZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.3COK4vzxf0R7hFwFzycJL-lW0AtzrMdxr4FhurK4ifA)
This is just a warning, the app should still work without it. It is recommended you add a private token to your .env
as PRIVATE_STOREFRONT_API_TOKEN="...."
, then pass it to createStorefrontClient
:
const {storefront} = createStorefrontClient({
// ...
publicStorefrontToken: env.PUBLIC_STOREFRONT_API_TOKEN,
privateStorefrontToken: env.PRIVATE_STOREFRONT_API_TOKEN,
// ...
});
This PRIVATE_STOREFRONT_API_TOKEN
is automatically added in the Hydrogen channel if you are deploying to Oxygen:
![image](https://private-user-images.githubusercontent.com/1634092/287775246-425f31fc-4bbb-4c75-ba65-d4af94981ca9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIwNzY2NDEsIm5iZiI6MTcyMjA3NjM0MSwicGF0aCI6Ii8xNjM0MDkyLzI4Nzc3NTI0Ni00MjVmMzFmYy00YmJiLTRjNzUtYmE2NS1kNGFmOTQ5ODFjYTkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjdUMTAzMjIxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YWUxYjhkN2FkZWMyYTI5NjhkNmQ4MjNlMWI3MzZjZjI0Y2EyMDUyYzBlZWMwNmU2N2M5MjFmOTRlODE5NGQ2MSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.zxgJTgWXeiX3icHR6h_GWxX6O7Nl0hNl6zGLmsAQe5U)
from hydrogen.
Related Issues (20)
- Unmounting CartForm cancels fetch HOT 3
- Tailwind Alpha not working on new projects HOT 1
- cli-hydrogen overwrites vite customLogger
- Pagination not consistent on refresh of page HOT 1
- Source map for Customer Privacy API is outdated
- Issue with Tracking Pixel Events Using Shopify Documentation HOT 4
- Improve the image component HOT 1
- Money component memoization broken
- Unable to create linked Hydrogen repo HOT 4
- href attribute mismatch using the Pagination Component HOT 7
- VariantSelector component: nonexistent variants for product options are showing up as isAvailable: true HOT 2
- useOptimisticCart doesn't add isOptimistic to cart and cart line item HOT 3
- Inlining CSS with the ?inline parameter generates a link tag with the style as the href HOT 3
- MiniOxygen encountered an error while running your app's entry point HOT 4
- MiniOxygen encountered an error while running your app's entry point HOT 4
- shopify hydrogen deploy fails with "Could not resolve "virtual:remix/server-build"" HOT 3
- Customer Account API integration not working when logging out from hosted pages HOT 2
- useOptimisticCart broken in bundle products HOT 1
- Hydrogen quickstart is not working properly HOT 1
- After remove & reinstall "node_modules" & "package-lock.json" get "TypeError: __vite_ssr_import_2__.default is not a function" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hydrogen.