Quick fix to stop Chrome detecting phishing
Apparently Google isn't happy about https://html.brow.sh/mail.google.com URLs.
This commit is contained in:
parent
4b9ff90933
commit
384688302e
|
@ -91,6 +91,10 @@ func handleHTTPServerRequest(w http.ResponseWriter, r *http.Request) {
|
|||
io.WriteString(w, message)
|
||||
return
|
||||
}
|
||||
if (strings.Contains(r.Host, "mail.google.com")) {
|
||||
http.Redirect(w, r, "https://html.brow.sh", 301)
|
||||
return
|
||||
}
|
||||
urlForBrowsh = "https://www.brow.sh/html-service-welcome"
|
||||
}
|
||||
if urlForBrowsh == "robots.txt" {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"manifest_version": 2,
|
||||
"name": "Browsh",
|
||||
"version": "1.2.0",
|
||||
"version": "1.2.1",
|
||||
|
||||
"description": "Renders the browser as realtime, interactive, TTY-compatible text",
|
||||
|
||||
|
|
Loading…
Reference in a new issue