Type Alias LookupURLOptions
type LookupURLOptions = {
clientWebServer?: number;
ifPublished?: boolean;
matchProduction?: boolean;
}
clientWebServer?: number;
ifPublished?: boolean;
matchProduction?: boolean;
}
Index
Properties
Properties
Optionalclient Web Server
clientWebServer?: number
Optionalif Published
ifPublished?: boolean
Only resolve the file if its published. This helps prevent leaking details about unpublised files (eg a 404 handler that uses LookupURL)
Optionalmatch Production
matchProduction?: boolean
Also look up sites based on their production url (live synced versions)
Optional ID of a specific webserver on which we should resolve this url. Should be the webserver which received the request (system.webservers id)