### Symfony version(s) affected 7.1 ### Description **API Platform version(s) affected**: 4.0 A simple install with a Symfony webapp used to work but now throws an error. ### How to reproduce ```bash symfony new MyApp --webapp && cd MyApp composer req api bin/console make:entity -a Task -n symfony server:start -d symfony open:local --path=/api ```  The files themselves, e.g. https://127.0.0.1:8029/assets/bundles/apiplatform/swagger-ui/swagger-ui-standalone-preset-4fec96b52efef25338c0ee2a2c2619e4.js  I've reported this in api-platform as well: https://github.com/api-platform/api-platform/issues/2801 ### Possible Solution _No response_ ### Additional Context _No response_