Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong URL in the remote call (Docker) #57

Open
r-martins opened this issue Mar 8, 2022 · 0 comments
Open

Wrong URL in the remote call (Docker) #57

r-martins opened this issue Mar 8, 2022 · 0 comments

Comments

@r-martins
Copy link

r-martins commented Mar 8, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant