Taku Amano
Taku Amano
I created #2714 with great support from @szmarczak! Although #2711 is hard to discard for its performance advantage, at this point I consider this new #2714 to be the best....
I believe that once the following two PRs are merged, it will be possible to easily add nonce to `Script` elements in honox. https://github.com/honojs/honox/pull/164 https://github.com/honojs/hono/pull/2577
Hi @yusukebe How about #2248?
I think we should use `(?:{(?:(?:{[\d,]+})|[^}])+})?` instead of `(?:{[^}]+})?)`. The regular expression shown in #2193 also meets the specification, but is slightly longer.
@yusukebe Ah, you're right, that would be better! > `(?:{[^/]+})?` I think `(?:{(?:(?:{[\d,]+})|[^}])+})?` is more faithful to the spec, but `(?:{[^/]+})?` is also used in existing codes such as RegExpRouter,...
My work is done. If there is enough discussion in #2169 to form a consensus on the implementation policy, I think we can merge in this PR content.
@yusukebe merged!
@watany-dev Thanks! It was helpful. But true, for example, but although I checked your PR, I think this change should have been merged. Because this is a "404 that failed...
When it comes to POST requests, POST is generally a request to change state, and even if the POST results is generated by `render()`, there is often POST data in...
Or... perhaps, as far as CloudFlare Pages are concerned, what we need is this. ```ts app.get('/404', onlySSG(), (c) => { return c.render(Not found! ) }) ```