Failing to change URL when returning a {redirect: "/url"} from a module guard.
Address.js:74 Uncaught DOMException: Failed to execute 'replaceState' on 'History': [object Module] could not be cloned.
at AddressReflector.reflect (http://127.0.0.1:1337/node_modules/.vite/deps/@roxi_routify.js?v=18cfa199:2008:31)
at http://127.0.0.1:1337/node_modules/.vite/deps/@roxi_routify.js?v=18cfa199:2660:67
Describe the bug
Failing to change URL when returning a
{redirect: "/url"}
from a module guard.You can see this in the examples: http://127.0.0.1:1337/examples/list/auth-example.
Reproduction
Visit the http://127.0.0.1:1337/examples/list/auth-example page and click "Admin" link.
Expected
URL is http://127.0.0.1:1337/examples/list/auth-example/signin
Actual
URL remains http://127.0.0.1:1337/examples/list/auth-example
Logs