pshrmn / curi

A JavaScript router for single-page applications
https://curi.js.org
MIT License
268 stars 10 forks source link

Allow redirect: { url } #235

Closed pshrmn closed 4 years ago

pshrmn commented 4 years ago

This PR allows a user to provide a redirect url string instead of specifying the location to redirect to with a name/params. The user is expected to include any hash/query segments in the url string.