Add xml to reconice extensions

This commit is contained in:
Las Zenow 2012-08-21 18:30:44 +02:00
parent 2deac073ab
commit 3b096b4aaa

View file

@ -91,7 +91,7 @@ func readHandler(coll *mgo.Collection) func(http.ResponseWriter, *http.Request)
return
}
if ext == "html" || ext == "htm" || ext == "xhtml" {
if ext == "html" || ext == "htm" || ext == "xhtml" || ext == "xml" {
var data readData
data.S = GetStatus(w, r)
data.Book = book