"This worker has a redirection" error after deployment using pages

Hello, I’ve been struggling with this issue.

If a user has my website open (even in the background) when a new deployment is successful (using pages) then any refresh or navigation to another page results in a error “browser can not open website, workers has a redirection” - just a blank page displaying a message like this.

The home page works, but no other page will work until the browser is closed and re opened.

I’m not using any custom workers, just pages.

I’ve done some research but can’t find anything useful so any help is appreciated!