for people installing their API project in a sub-folder (either for production or even more for a dev/test environment)
for people deporting only content of "public" folder to the exposed htdocs folder of the vhost, while the rest of the application is located in a parent folder (not exposed).
it would be interesting to add $app->setBasePath(xxx) where the basepath could be defined in .env file. Note: just after after $app = AppFactory::create in src/App/App.php
In order to suit different use cases :
it would be interesting to add $app->setBasePath(xxx) where the basepath could be defined in .env file. Note: just after after
$app = AppFactory::create
in src/App/App.php