Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deco/mod.ts>redirect

deco is the edge-native site editor and app framework for building dynamic, high-performance sites with a built-in visual admin UI.
Go to Latest
variable redirect
import { redirect } from "https://deno.land/x/deco@1.35.3/mod.ts";

Redirect using the specified @param url.

type

(url: string | URL, status?: number) => unknown