Open r-martins opened 2 years ago
When running in docker, the project is mapped to different folders. It woul be nice to be able to define the root magento path.
Example: In my case, the remote call points to http://localhost:63342/api/file//var/www/html/vendor/magento/module-sales/view/adminhtml/templates/order/view/info.phtml The correct one would be http://localhost:63342/api/file/src/vendor/magento/module-sales/view/adminhtml/templates/order/view/info.phtml
Note there's no extra / and the paths are different in the project. It's impossible to predict, but making it configurable would help.
/
PS: Congratulations for the amazing work with the module. It helps a lot.
When running in docker, the project is mapped to different folders. It woul be nice to be able to define the root magento path.
Example: In my case, the remote call points to http://localhost:63342/api/file//var/www/html/vendor/magento/module-sales/view/adminhtml/templates/order/view/info.phtml The correct one would be http://localhost:63342/api/file/src/vendor/magento/module-sales/view/adminhtml/templates/order/view/info.phtml
Note there's no extra
/
and the paths are different in the project. It's impossible to predict, but making it configurable would help.PS: Congratulations for the amazing work with the module. It helps a lot.