Properties
The mode Fresh can run in.
When enabled, Fresh will respect X-Forwarded-Proto and
X-Forwarded-Host headers to construct ctx.url. Enable
this when running behind a reverse proxy.
Only enable trustProxy when your app is actually behind a trusted
reverse proxy. Untrusted clients could otherwise spoof these headers.
Use with
Deno
Deno
Add Package
deno add jsr:@fresh/core
Import symbol
import { type FreshConfig } from "@fresh/core";
or
Import directly with a jsr specifier
import { type FreshConfig } from "jsr:@fresh/core@^2.3.3";