This repository was archived by the owner on Dec 30, 2023. It is now read-only.

Description
router.add({
name: 'register',
pattern: '/register/:barcode?',
page: '/register',
})
doing
router.replaceRoute('register', {}, { shallow: true })
resulting in an address:
http://localhost:3000/register/
Is it intentional ?
Though it is working, I would like the address to not include the slash: http://localhost:3000/register
How to achieve this? Need change in the package source?