Worker breaks redirects

I have a Worker to inject some html in my gitlab page.

However, the root document is supposed to redirect to a login page but does no such thing.

Can I somehow exclude a redirect page (not just that one, some other pages do redirects) from the worker?

If you want the route to apply to the entire site, EXCEPT root, then add a route to the top of the list: (no worker assigned).

1 Like