quantified-uncertainty / squiggle

An estimation language
https://squiggle-language.com
MIT License
148 stars 22 forks source link

Fix Vercel preview branches #3131

Closed berekuk closed 3 months ago

berekuk commented 3 months ago

I've recently enabled Standard Protection for Squiggle Hub, which is now default on Vercel.

But our Relay configuration fetched https://${VERCEL_URL}/api/graphql during SSR, and VERCEL_URL is not available anymore.

changeset-bot[bot] commented 3 months ago

⚠️ No Changeset found

Latest commit: 5a355a70699e8f9d419753cf562ad1fdcf02c4f2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
quri-hub ✅ Ready (Inspect) Visit Preview Mar 27, 2024 8:47pm
quri-ui ✅ Ready (Inspect) Visit Preview Mar 27, 2024 8:47pm
squiggle-components ✅ Ready (Inspect) Visit Preview Mar 27, 2024 8:47pm
squiggle-website ✅ Ready (Inspect) Visit Preview Mar 27, 2024 8:47pm
berekuk commented 3 months ago

Fixes previews, let's hope that it won't break prod...