Show 404 in a public way
I have my webpage deployed to invertisment.gitlab.io.
I uploaded a public/404.html
file and if I open it in a new tab then 404 page is displayed because the new tab has my gitlab session.
When I open an incognito window with invertisment.gitlab.io then it works but if I go to a non-valid URL then it doesn't display the 404 page and instead asks to log in. This is not ideal because then it's not a deployed webpage but something that can work only for me, with my account.
I think the 404 page should be displayed even if it's not my user and even if somebody isn't logged in.