Rewrite rule gives 404 when fetching assets

Hi Alan,

I have tried your suggested rewrites and several combinations of those two, including/excluding assets, trailing slashes and so on, but I am able to access the URL from a browser only if I put the slash at the end:

apps.mantovani.dev/hanoi-tower/

If I try to curl the assets from the command line with, e.g., curl -v https://apps.mantovani.dev/hanoi-tower/assets/index-IC2oEpCc.js, I am able to fetch the content.

I have also tried to set up a redirect from /hanoi-tower to /hanoi-tower/, but this ends up in a TOO_MANY_REDIRECT error. I thought this topic could be related: Redirect rule is redirecting too much.

Am I missing something obvious?

Mattia