Type Alias LookupURLOptions
type LookupURLOptions = {
clientWebServer?: number;
ifPublished?: boolean;
matchProduction?: boolean;
}
clientWebServer?: number;
ifPublished?: boolean;
matchProduction?: boolean;
}
Index
Properties
Properties
Optional
client Web Server
clientWebServer?: number
Optional
if 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)
Optional
match 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)