origin

Returns the Location object's URL's origin.

MDN Reference