Proxy text/xml

This commit is contained in:
blankie 2022-07-24 00:46:50 +07:00
parent 96c1dc7560
commit 496a5e646c
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ func main() {
mime, _, _ := strings.Cut(resp.Meta, ";")
if mime == "application/rss+xml" || mime == "application/rss" ||
mime == "application/atom+xml" || mime == "application/atom" ||
mime == "application/xml" {
mime == "application/xml" || mime == "text/xml" {
out, err := io.ReadAll(resp.Body)
if err != nil {
log.Fatal(err)