You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That code is in src/serviceWorker.js, which is unchanged from the original. It’s only executed in the browser so I don’t know how window.location could be undefined (especially if window is not undefined).
Can you provide more info about how you came across this error?
var isLocalhost=Boolean(window.location.hostname==="localhost"||// [::1] is the IPv6 localhost address.
^
TypeError: Cannot read property 'hostname' of undefined
The text was updated successfully, but these errors were encountered: