UNPKG

@shopify/app-bridge

Version:

**Shopify is doubling our engineering staff in 2021! [Join our team and work on libraries like this one.](https://smrtr.io/5GGrc)**

10 lines (9 loc) 413 B
export interface Options { matchPath?: RegExp | string; requireAbsolute?: boolean; requireSSL?: boolean; allowedDomains?: string[]; subdomains?: string[]; } export declare function isSafe(redirectUrl: string, { allowedDomains, subdomains, matchPath, requireAbsolute, requireSSL }?: Options): boolean; export declare function makeSafe(url: string, fallback: string, options?: Options): string;