Skip to content

Show warning if admin accesses Sourcegraph over HTTP

Administrator requested to merge github/fork/Akarshit/8160-http-warning into master

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: Screenshot 2020-02-03 at 1 02 56 AM 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.

Merge request reports

Loading