0

How to get the base url into magento2 module app/etc/config.xml file.

<storefront>
    <report_uri>https://www.example.com/</report_uri>
</storefront>

instead of https://www.example.com/ I need to get the base url

Please anyone help me.

thanks

3

1 Answer 1

0

Get the base url in magento {{config path='web/unsecure/base_url'}}

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.