correct capitalisation in Server header

This commit is contained in:
mappu 2017-07-09 13:26:38 +12:00
parent d1ff4c294d
commit 41dcc75254

View File

@ -39,7 +39,7 @@ func (this *WikiServer) Close() {
}
func (this *WikiServer) ServeHTTP(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Server", "Yatwiki3")
w.Header().Set("Server", "YATWiki3")
if r.Method == "GET" {
if r.URL.Path == this.opts.ExpectBaseURL+"wiki.css" {