web: set better defaults for translation form

This commit is contained in:
Alexey Yerin 2021-05-10 19:39:17 +03:00
parent 598ca5d15e
commit 9674e124cd
1 changed files with 1 additions and 1 deletions

2
web.go
View File

@ -16,7 +16,7 @@ func CreateWebHandler(tmpl *template.Template, settings *TranslateSettings) func
}
if req.Method == "GET" {
tmpl.ExecuteTemplate(w, "index", indexPageData{Languages, "", "", "", ""})
tmpl.ExecuteTemplate(w, "index", indexPageData{Languages, "auto", "en", "", ""})
return
}