As of now, you only have control over requests sent to https://something.anvil.app/_/api
However, you cannot handle requests sent to https://something.anvil.app/_/anything. It will be really helpful if Anvil adds this feature.
In cases of server-side routing, Having api in every path just makes them appear longer and less normal.
Also, if possible, can we please have the option of letting apps handle 404 their own way (if they want to). For example, if you currently go to https://something.anvil.app/path, you will see the usual âApp Not Foundâ page from Anvil.
Maybe we can instead have a specific decorator for such endpoints or simply let them redirect you to the main app.
I guess this also highlights one potential limitation on being able to handle requests for any path. The Users service handles reset_password paths (and unfortunately still handles expired links poorly).