Magento 2 and Ngrok

by Lolipopcoder   Last Updated December 06, 2018 15:09 PM

Hello guys does anyone have solution to this? I create share link with ngrook, and it works, but all asstes are with my test domain?? Please help!!! Tried database unsecure url change, but then I get TOO MANY REDIRECTS.

Tags : magento2


Answers 1


Update your base urls form core_config_data table.

  • Url with http:

    UPDATE `core_config_data` SET `value` = 'http://ngrok.io/your_url/' WHERE `core_config_data`.`path` = 'web/unsecure/base_url';

  • Url with https:

    UPDATE `core_config_data` SET `value` = 'https://ngrok.io/your_url/' WHERE `core_config_data`.`path` = 'web/secure/base_url';

  • Clear Magento Cache:

    php bin/magento cache:flush

Milind Singh
Milind Singh
December 06, 2018 14:47 PM

Related Questions


Cart Price Rules having issues

Updated October 01, 2018 18:09 PM

Can Magento2 Enterprise see admin revenue

Updated November 21, 2018 13:09 PM


Magento 2.2 Not Loading theme and blocks

Updated January 11, 2018 02:09 AM