Add xml to reconice extensions
This commit is contained in:
parent
2deac073ab
commit
3b096b4aaa
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" || ext == "xhtml" {
|
if ext == "html" || ext == "htm" || ext == "xhtml" || ext == "xml" {
|
||||||
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