Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script>
import { Figure, VercelImage } from '@maiertech/sveltekit-helpers';
import { Figure, VercelImage, stripOrigin } from '@maiertech/sveltekit-helpers';
import srcVercelDashboard from './vercel-dashboard.png';
</script>

Expand All @@ -20,7 +20,7 @@ different in production than in preview. Vercel gives you all the flexibility yo
Here is a look at my Vercel dashboard in one of my SvelteKit projects:

<Figure caption="The Vercel dashboard can be used to manage environment variables." class="mb-8">
<VercelImage src={srcVercelDashboard} alt="Screenshot of my Vercel dashboard showing a GITHUB_TOKEN entry for development and another GITHUB_TOKEN entry for production and previews." intrinsicWidth={1824}></VercelImage>
<VercelImage src={stripOrigin(srcVercelDashboard)} alt="Screenshot of my Vercel dashboard showing a GITHUB_TOKEN entry for development and another GITHUB_TOKEN entry for production and previews." intrinsicWidth={1824}></VercelImage>
</Figure>

`VERCEL_URL` is a Vercel system environment variable that Vercel sets automatically. Therefore, it
Expand Down