change sitemap mime-type to application/xml

This commit is contained in:
2020-07-09 18:47:40 +02:00
parent 78021ff69c
commit aa14ba0e32

View File

@@ -207,7 +207,7 @@ def siteMap():
childLastmod.text = lastmod.isoformat() childLastmod.text = lastmod.isoformat()
chilLoc.text = url chilLoc.text = url
return flask.Response(et.tostring(top, 'utf-8'), mimetype='text/xml') return flask.Response(et.tostring(top, 'utf-8'), mimetype='application/xml')
if __name__ == "__main__": if __name__ == "__main__":