Rewrite constructor
const
Rewrite({})
Creates a new Rewrite.
dynamicLinks The request will be forwarded to Firebase Dynamic Links.
function The function to proxy requests to. Must match the exported function name exactly.
functionRegion Optional. Specify a Cloud region for rewritten Functions invocations. If not provided, defaults to us-central1.
glob The user-supplied glob to match against the request URL path.
path The URL path to rewrite the request to.
regex The user-supplied RE2 regular expression to match against the request URL path.
run The request will be forwarded to Cloud Run.
Implementation
const Rewrite({
this.dynamicLinks,
this.function,
this.functionRegion,
this.glob,
this.path,
this.regex,
this.run,
});