Skip to content

Wrong URL in the remote call (Docker) #57

@r-martins

Description

@r-martins

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions