JSR

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 logo

Deno

Deno logo

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";

Document Navigation

Read the original on jsr.io ↗