Millwork
    Preparing search index...

    Interface UrlOptions

    Options of the url codec.

    interface UrlOptions {
        base?: string;
        protocols?: readonly string[] | "*";
    }
    Index
    base?: string

    The base for a relative raw URL. The codec checks the protocol after it resolves the URL.

    protocols?: readonly string[] | "*"

    The protocols that hydrate accepts, with the colon: ['https:']. A URL with another protocol is bad input. '*' accepts all protocols. The default is DEFAULT_URL_PROTOCOLS.