host

The host property of a WorkerLocation object returns the URL.host part of the worker's location.

MDN Reference