js origin without port code example
Example: js origin without port
// origin without the port
`${window.location.protocol}//${window.location.hostname}`
// origin without the port
`${window.location.protocol}//${window.location.hostname}`