This page demonstrates server-side environment variable access using SvelteKit's $env/static/private.
The variable is only accessible on the server and is not exposed to the client bundle.
Request Time: 12/8/2025, 5:59:48 PM
This variable is imported from $env/static/private,
ensuring it's never sent to the client. Set the value in your .env file.
To set this variable:
.env file in the project rootMY_TEST_VAR=your-value-here