{"action":"opened","issue":{"url":"https://api.github.com/repos/hyperapp/router/issues/8","repository_url":"https://api.github.com/repos/hyperapp/router","labels_url":"https://api.github.com/repos/hyperapp/router/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/hyperapp/router/issues/8/comments","events_url":"https://api.github.com/repos/hyperapp/router/issues/8/events","html_url":"https://github.com/hyperapp/router/issues/8","id":248612847,"number":8,"title":"Support hashed routes","user":{"login":"spapas","id":3911074,"avatar_url":"https://avatars1.githubusercontent.com/u/3911074?v=4","gravatar_id":"","url":"https://api.github.com/users/spapas","html_url":"https://github.com/spapas","followers_url":"https://api.github.com/users/spapas/followers","following_url":"https://api.github.com/users/spapas/following{/other_user}","gists_url":"https://api.github.com/users/spapas/gists{/gist_id}","starred_url":"https://api.github.com/users/spapas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spapas/subscriptions","organizations_url":"https://api.github.com/users/spapas/orgs","repos_url":"https://api.github.com/users/spapas/repos","events_url":"https://api.github.com/users/spapas/events{/privacy}","received_events_url":"https://api.github.com/users/spapas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-08T06:27:29Z","updated_at":"2017-08-08T06:27:29Z","closed_at":null,"body":"Hello, could you also support hashed routes beyond pathname routes? For example, instead of writing `http://example.com/detail/` I'd prefer to write `http://example.com/#/detail` to go to the detail view. This is important for easier integration of hyperapp with existing routes since with pathnames the web server must be configured to pass everything to the main page. Also it greately helps with testing.\r\n\r\nFrom a quick glance at the source code of PR #6 it's rather easy, just use `location.hash.substring(1)` instead of `location.pathname`. This can be configured with a parameter in the `Router` function.\r\n\r\nTIA "}}
{"actor":{"display_login":"spapas"}}