publish: add wildcard route for note endpoints
We take in /edit parameters (and possibly others) on notes,
so we let the front-end handle the routing regardless of the additional
params in the URL.
(manx-response:gen (index u.book-json))
::
:: single note, with initial 50 comments, wrapped in html
- [[~ [%'~publish' %note @ @ @ ~]] ~]
+ [[~ [%'~publish' %note @ @ @ *]] ~]
=/ host=(unit @p) (slaw %p i.t.t.site.url)
?~ host
not-found:gen
(manx-response:gen (index u.note-json))
::
:: single note, with initial 50 comments, wrapped in html
- [[~ [%'~publish' %popout %note @ @ @ ~]] ~]
+ [[~ [%'~publish' %popout %note @ @ @ *]] ~]
=/ host=(unit @p) (slaw %p i.t.t.t.site.url)
?~ host
not-found:gen
