Add xteve.xml GZIP
This commit is contained in:
@@ -216,7 +216,6 @@ func xTeVe(w http.ResponseWriter, r *http.Request) {
|
||||
// XMLTV Datei
|
||||
if strings.Contains(path, "xmltv/") {
|
||||
|
||||
w.Header().Set("Content-Type", "application/xml")
|
||||
requestType = "xml"
|
||||
|
||||
file = System.Folder.Data + getFilenameFromPath(path)
|
||||
@@ -227,6 +226,8 @@ func xTeVe(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
w.Header().Set("Content-Type", http.DetectContentType([]byte(content)))
|
||||
|
||||
}
|
||||
|
||||
// M3U Datei
|
||||
|
||||
Reference in New Issue
Block a user