LookupURLOptions | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Type Alias LookupURLOptions

    type LookupURLOptions = {
        clientWebServer?: number;
        ifPublished?: boolean;
        matchProduction?: boolean;
    }
    Index

    Properties

    clientWebServer?: number

    Optional ID of a specific webserver on which we should resolve this url. Should be the webserver which received the request (system.webservers id)

    ifPublished?: boolean

    Only resolve the file if its published. This helps prevent leaking details about unpublised files (eg a 404 handler that uses LookupURL)

    matchProduction?: boolean

    Also look up sites based on their production url (live synced versions)