Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Redirect

import type { Redirect } from "https://googleapis.deno.dev/v1/firebaseapphosting:v1.ts";

Specifies redirect behavior for a domain.

interface Redirect {
status?: bigint;
uri?: string;
}

§Properties

§
status?: bigint
[src]

Optional. The status code to use in a redirect response. Must be a valid HTTP 3XX status code. Defaults to 302 if not present.

§
uri?: string
[src]

Required. The URI of the redirect's intended destination. This URI will be prepended to the original request path. URI without a scheme are assumed to be HTTPS.