notification works only after page refresh

I am using livewire notification and everything was working fine while using http and recently we moved to https and now notifications are only shown after page refresh.
While searching i came across an article which states the response header X-livewire can be null and because of that the notification does not works.

Can someone guide in this please?
Was this page helpful?