Environment Variables

DinoSsr is an experimental work in progress and subject to change!

ORIGIN

Example: https://ssr.rocks

If defined DinoSsr will only respond to requests matching the hostname and protocol. If hosted with a custom domain on Deno Deploy requests to [project].deno.dev are redirected.

DINOSSR_DEPLOY_ID

Used to generate a deterministic deployHash. If not defined a new hash is generated based on deploy time.

DINOSSR_BUILD

If defined routes a compiled and bundled to .dinossr in the project root directory. This speeds up server cold starts significantly. Yes, it’s a build step!

See notes on Deno Deploy for usage.