-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
Fix rel="alternate" - Must use absolute url (with "https://" prefix) #321
Conversation
✅ Deployment SUCCESS |
✅ Deployment SUCCESS |
✅ E2E tests SUCCESS for commit 0192f0c previously deployed Storybook static site at https://nrn-v2-mst-aptd-gcms-lcz-sty-storybook-mntrq7cni-unly-oss.vercel.app |
✅ E2E tests SUCCESS for commit 0192f0c previously deployed at https://nrn-v2-mst-aptd-gcms-lcz-sty-c1-crnb4b47y-unly-oss.vercel.app |
✅ Deployment SUCCESS |
✅ Deployment SUCCESS |
✅ E2E tests SUCCESS for commit 6d6b052 previously deployed at https://nrn-v2-mst-aptd-gcms-lcz-sty-c1-o5vhr2vbo-unly-oss.vercel.app |
✅ E2E tests SUCCESS for commit 6d6b052 previously deployed Storybook static site at https://nrn-v2-mst-aptd-gcms-lcz-sty-storybook-q6mrl556v-unly-oss.vercel.app |
✅ Deployment SUCCESS |
✅ Deployment SUCCESS |
✅ E2E tests SUCCESS for commit 2791ce6 previously deployed at https://nrn-v2-mst-aptd-gcms-lcz-sty-c1-gxrl5pna3-unly-oss.vercel.app |
✅ E2E tests SUCCESS for commit 2791ce6 previously deployed Storybook static site at https://nrn-v2-mst-aptd-gcms-lcz-sty-storybook-4u6yxqbo6-unly-oss.vercel.app |
✅ Deployment SUCCESS |
✅ Deployment SUCCESS |
✅ E2E tests SUCCESS for commit 1f4f1ed previously deployed at https://nrn-v2-mst-aptd-gcms-lcz-sty-c1-4odu6sful-unly-oss.vercel.app |
✅ E2E tests SUCCESS for commit 1f4f1ed previously deployed Storybook static site at https://nrn-v2-mst-aptd-gcms-lcz-sty-storybook-4s6cuu9cz-unly-oss.vercel.app |
✅ Deployment SUCCESS |
✅ Deployment SUCCESS |
✅ E2E tests SUCCESS for commit ac40f7d previously deployed at https://nrn-v2-mst-aptd-gcms-lcz-sty-c1-4d6r7bz2p-unly-oss.vercel.app |
✅ E2E tests SUCCESS for commit ac40f7d previously deployed Storybook static site at https://nrn-v2-mst-aptd-gcms-lcz-sty-storybook-gxwyct275-unly-oss.vercel.app |
✅ Deployment SUCCESS |
✅ Deployment SUCCESS |
✅ E2E tests SUCCESS for commit 24a86ea previously deployed Storybook static site at https://nrn-v2-mst-aptd-gcms-lcz-sty-storybook-k06vvjyzn-unly-oss.vercel.app |
✅ E2E tests SUCCESS for commit 24a86ea previously deployed at https://nrn-v2-mst-aptd-gcms-lcz-sty-c1-h5kty4aak-unly-oss.vercel.app |
…321) * Add todo * Print VERCEL_URL for debug * Print NEXT_PUBLIC_VERCEL_URL for debug * Try to expose VERCEL_URL (+ enabled auto exposure from vercel project) * Add VERCEL_DOMAIN and NEXT_PUBLIC_APP_BASE_URL env vars * Use NEXT_PUBLIC_APP_BASE_URL + add env vars doc
See GoogleChrome/lighthouse#12458 (comment)
Issue: Not sure how to get the hostname, not available there, would need to be provided from getStaticProps? (but that wouldn't be a valid host name if generated at build time), not sure how to do that.
Solution: Use
VERCEL_URL
env variable that's injected during build, and make it available to the whole app.