Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException: "No route found for "GET http://task-demi.herokuapp.com/api/register": Method Not Allowed (Allow: POST)" at /app/vendor/symfony/http-kernel/EventListener/RouterListener.php line 140
So I have uploaded my Symfony 5 in heroku. It is working well in localhost,no error ,but after hosting in Heroku I get above error. I have used SqlLite
DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
doctrine_heroku.yaml
doctrine:
dbal:
driver: 'pdo_sqlite'
server_version: '3.15'
How to resolve this?