Hi,
I found that using absoluteUrl in the client-side returns the host without the port information. In my case, it is returning localhost, although it should be localhost:3000.
I think the solution would be changing window.location.hostname to window.location.host
Hi, I found that using
absoluteUrl
in the client-side returns thehost
without the port information. In my case, it is returninglocalhost
, although it should belocalhost:3000
. I think the solution would be changingwindow.location.hostname
towindow.location.host
E.g.,