@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
10 lines • 502 B
TypeScript
/** Action triggered when all rules from route match */
export interface RouteHttpAction {
/** HTTP status code for "redirect" and "reject" actions */
status?: number;
/** Farm ID for "farm" action type or URL template for "redirect" action. You may use ${uri}, ${protocol}, ${host}, ${port} and ${path} variables in redirect target */
target?: string;
/** Action to trigger if all the rules of this route matches */
type: string;
}
//# sourceMappingURL=RouteHttpAction.d.ts.map