I use
php bin/console fos:js-routing:dump -e=prod --target="web/js/fos_js_routes.prod.js"
to dump all routes, but the problem is my production symfony not in root url.
I mean, it place in https://myshop.com/symfonyapp and all generated route dont have /symfonyapp
for example homepage to be / and what I expect is /symfonyapp/
how to set baseurl to dump all route?
You have to setup this variable in the config file: