Function: isMapVxRequestHostname()
mapvx.com
Returns whether a URL hostname is part of the MapVX API domain tree. Matches mapvx.com and any
subdomain (api.mapvx.com, public-api.mapvx.com, integration.mapvx.com, etc.). Does not match
lookalike domains (e.g. notmapvx.com).
Parameters
hostname
string
Value from URL.hostname (no port)
Returns
boolean
True if context headers should be attached for this host
Last updated on