[FIX] htmlpreview.github.io redirect only with https url