Reconice xhtml as html
This commit is contained in:
parent
2e6719e693
commit
2deac073ab
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ func readHandler(coll *mgo.Collection) func(http.ResponseWriter, *http.Request)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if ext == "html" || ext == "htm" {
|
if ext == "html" || ext == "htm" || ext == "xhtml" {
|
||||||
var data readData
|
var data readData
|
||||||
data.S = GetStatus(w, r)
|
data.S = GetStatus(w, r)
|
||||||
data.Book = book
|
data.Book = book
|
||||||
|
|
Reference in a new issue