origin

The origin property of a WorkerLocation object returns the worker's URL.origin.

MDN Reference