correct capitalisation in Server header
This commit is contained in:
parent
d1ff4c294d
commit
41dcc75254
@ -39,7 +39,7 @@ func (this *WikiServer) Close() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (this *WikiServer) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
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.Method == "GET" {
|
||||||
if r.URL.Path == this.opts.ExpectBaseURL+"wiki.css" {
|
if r.URL.Path == this.opts.ExpectBaseURL+"wiki.css" {
|
||||||
|
Loading…
Reference in New Issue
Block a user