Fix typo by removing extra p in function name (#12996)

This commit is contained in:
ishanray
2019-11-12 09:14:57 -05:00
committed by Ben Schumacher
parent 111d076a86
commit bf693b6a0c
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ func (w *Web) InitStatic() {
func root(c *Context, w http.ResponseWriter, r *http.Request) {
if !CheckClientCompatability(r.UserAgent()) {
renderUnsuppportedBrowser(c.App, w, r)
renderUnsupportedBrowser(c.App, w, r)
return
}

View File

@@ -44,7 +44,7 @@ type SystemBrowser struct {
MakeDefaultString string
}
func renderUnsuppportedBrowser(app *app.App, w http.ResponseWriter, r *http.Request) {
func renderUnsupportedBrowser(app *app.App, w http.ResponseWriter, r *http.Request) {
w.Header().Set("Cache-Control", "no-store")
page := utils.NewHTMLTemplate(app.HTMLTemplates(), "unsupported_browser")