Skip to content

Commit

Permalink
chore (cleanup): typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-kerjean committed Jan 31, 2024
1 parent f310470 commit 6ab60bb
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions server/ctrl/static.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,14 @@ func LegacyIndexHandler(ctx *App, res http.ResponseWriter, req *http.Request) {
// Microsoft is behaving on many occasion differently than Firefox / Chrome.
// I have neither the time / motivation for it to work properly
res.WriteHeader(http.StatusBadRequest)
res.Write([]byte(
Page(`
<h1>Internet explorer is not supported</h1>
<p>
We don't support IE / Edge at this time
<br>
Please use either Chromium, Firefox or Chrome
</p>
`)))
res.Write([]byte(Page(`
<h1>Internet explorer is not supported</h1>
<p>
We don't support IE / Edge at this time
<br>
Please use either Chromium, Firefox or Chrome
</p>
`)))
return
}
LegacyServeFile(res, req, "/index.html")
Expand Down Expand Up @@ -201,15 +200,14 @@ func ServeFrontofficeHandler(ctx *App, res http.ResponseWriter, req *http.Reques
// Microsoft is behaving on many occasion differently than Firefox / Chrome.
// I have neither the time / motivation for it to work properly
res.WriteHeader(http.StatusBadRequest)
res.Write([]byte(
Page(`
<h1>Internet explorer is not supported</h1>
<p>
We don't support IE / Edge at this time
<br>
Please use either Chromium, Firefox or Chrome
</p>
`)))
res.Write([]byte(Page(`
<h1>Internet explorer is not supported</h1>
<p>
We don't support IE / Edge at this time
<br>
Please use either Chromium, Firefox or Chrome
</p>
`)))
return
}
ServeFile(res, req, WWWPublic, "index.frontoffice.html")
Expand Down

0 comments on commit 6ab60bb

Please sign in to comment.