function isSelfHost isSelfHost(host: string): boolean Checks whether host (with its port, as URL.host gives it) is where this site is served, at its public URL or its frontend's. Parameters host: string Return Type boolean