Why does Chrome keep displaying “Site cannot be in

2019-02-23 01:20发布

问题:

Whenever I look in Chrome's console, I see this error message:

Site cannot be installed: the page is not served from a secure origin

This only started happening a few days ago, and Chrome wasn't updated in the meantime.

回答1:

This error is caused by sites served over HTTP if "Add to shelf" is enabled in chrome://flags.

Solutiuon: go to chrome://flags/#enable-add-to-shelf and change "Enabled" to "Default", then relaunch chrome.