Removes hardcoded protocols

Remove hardcoded https and http from index.html. Use the protocol  that is used in order to access the web application