Show warning if admin accesses Sourcegraph over HTTP
Created by: Akarshit
Closes #8160
I am checking the externalURL and if it is HTTP, I am adding a warning to the website. A sample of how it looks is below:
Let me know if there is something to be changed in this.
I also changed the alert type from AlertTypeWarning
to AlertTypeError
for critical problems, I am not sure if this was a bug or was intentional.