scandipwa / create-magento-app

A zero-configuration tool-chain which allows to deploy Magento 2 application in minutes!
https://docs.create-magento-app.com
Open Software License 3.0
32 stars 20 forks source link

Remove usage of custom admin url on store setup or DB import #159

Open Andrii-Antoniuk opened 2 months ago

Andrii-Antoniuk commented 2 months ago

When we import a DB from another instance it could be having admin/url/use_custom config set to 1 since it is a good practice to move admin url from regular storefronts.

On local env this would cause issues with opening the generated admin url, since in DB there will be admin/url/use_custom flag set to true.

We need to either strip it out or change in DB or change it in env.php