HostingVersionConfig

data class HostingVersionConfig(val redirects: List<HostingVersionConfigRedirect>? = null, val rewrites: List<HostingVersionConfigRewrite>? = null)

Constructors

Link copied to clipboard
constructor(redirects: List<HostingVersionConfigRedirect>? = null, rewrites: List<HostingVersionConfigRewrite>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path. Structure is documented below.

Link copied to clipboard

An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL. Structure is documented below.