Update index.html

Example now works for either http or https.