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

DomainForwarding

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

Domain forwarding configuration.

interface DomainForwarding {
pathForwarding?: boolean;
pemCertificate?: string;
redirectType?: "REDIRECT_TYPE_UNSPECIFIED" | "TEMPORARY" | "PERMANENT";
sslEnabled?: boolean;
subdomain?: string;
targetUri?: string;
}

§Properties

§
pathForwarding?: boolean
[src]

If true, forwards the path after the domain name to the same path at the new address.

§
pemCertificate?: string
[src]

The PEM-encoded certificate chain.

§
redirectType?: "REDIRECT_TYPE_UNSPECIFIED" | "TEMPORARY" | "PERMANENT"
[src]

The redirect type.

§
sslEnabled?: boolean
[src]

If true, the forwarding works also over HTTPS.

§
subdomain?: string
[src]

The subdomain of the registered domain that is being forwarded. E.g. www.example.com, example.com (i.e. the registered domain itself) or *.example.com (i.e. all subdomains).

§
targetUri?: string
[src]

The target of the domain forwarding, i.e. the path to redirect the subdomain to.