I setup PWA Studio in my local. This is the final URL of the PWA storefront
https://magento-venia-concept-y2f--.local.pwadev:9722
how to change this URL to something like "example.com"
I managed to find below variables in .env file. But when I changed them I got the frontend URL something like "http://0.0.0.0:9087" and there is a message during the build "could not configure or access custom host. using loopback"
MAGENTO_BUILDPACK_SECURE_HOST_SUBDOMAIN='custom-value'
MAGENTO_BUILDPACK_SECURE_HOST_EXACT_DOMAIN='my-favorite.pizza'
Hello @kalyanchakri
Have you got the solution for the same ? if yes can you share how you have resolved that ?
Please let me know if you got solutions for the same.
Hi @koushik_ch
I didn't get chance to look into the same. But I can suggest you to join the slack group (magentocommeng.slack.com) and discuss in the PWA channel. You can get quick answers there.
Hola, después de cambiar esas variables de entorno, debes volver a ejecutar el comando
yarn buildpack create-custom-origin packages/venia-concept
Saludos.