Closed 1a57danc3 closed 7 years ago
Because use static pages, not set httpserver (such as nginx/apache etc.) .
var url = window.location.href; if (url.indexOf("https") < 0) { url = url.replace("http:", "https:"); window.location.replace(url); }
@ky0ncheng I think that you do not need to do anything about hexo-generator-amp . Can not open AMP HTML page with HTTPS ?
hexo-generator-amp
@tea3 thx,I can edit sample-amp.ejs
Because use static pages, not set httpserver (such as nginx/apache etc.) .