Shopify / slate

Slate is a toolkit for developing Shopify themes. It's designed to assist your workflow and speed up the process of developing, testing, and deploying themes.
https://shopify.github.io/slate
MIT License
1.28k stars 365 forks source link

layout.theme.js gets blocked on external devices blocks via 'Share Preview' #1040

Closed hecpalomares closed 5 years ago

hecpalomares commented 5 years ago

Problem

Trying to 'Preview' the theme on an external device (not the local development device) returns 'Failed to load resource net::ERR_CERT_AUTHORITY_INVALID on layout.theme.js.

Replication steps

  1. Run in terminal yarn start
  2. Correctly see my site changes locally
  3. Share link provided by Shopify from 'Share Preview'
  4. Opens the Shopify Store (with the latest uploaded HTML) but blocking the layout.theme.js file, not loading my stylesheets. Everything looks broken.

More Information

If I run yarn deploy the theme correctly previews on an external device for some time. But then it starts blocking the layout.theme.js again.

I followed the 4. Create a self-signed SSL certificate on https://github.com/Shopify/slate/wiki/4.-Create-a-self-signed-SSL-certificate

I understand that if I open the layout.theme.js on a new tab and accept the link it will correctly load.

Questions

What will happen when I publish the theme? How I can share my link without the need to open the developer console, click the file, click on advanced and accept the link? This is extremely painful for clients.

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.