Something went wrong!
Try again
if (!window.location.pathname.startsWith('/homepage')) { }