redirect root
pixelpaulaus opened this issue · comments
Paul commented
How does one configure it to redirect the root?
i have...
redirect: [ { from: '/', to: '/login' } ]
but it goes in a loop
Alexander Lichter commented
Hey 👋
try from: '^/$'
. That regex should only capture the exact /
route.