mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-11-09 21:31:12 +08:00
Changed autoconfig mime type to application/xml
This commit is contained in:
parent
7e8f5fb3e9
commit
1e908f7737
1 changed files with 2 additions and 2 deletions
|
|
@ -93,7 +93,7 @@ impl JMAP {
|
||||||
config.push_str("</clientConfig>\n");
|
config.push_str("</clientConfig>\n");
|
||||||
|
|
||||||
Resource {
|
Resource {
|
||||||
content_type: "text/xml+autoconfig; charset=utf-8",
|
content_type: "application/xml; charset=utf-8",
|
||||||
contents: config.into_bytes(),
|
contents: config.into_bytes(),
|
||||||
}
|
}
|
||||||
.into_http_response()
|
.into_http_response()
|
||||||
|
|
@ -176,7 +176,7 @@ impl JMAP {
|
||||||
let _ = writeln!(&mut config, "</Autodiscover>");
|
let _ = writeln!(&mut config, "</Autodiscover>");
|
||||||
|
|
||||||
Resource {
|
Resource {
|
||||||
content_type: "text/xml; charset=utf-8",
|
content_type: "application/xml; charset=utf-8",
|
||||||
contents: config.into_bytes(),
|
contents: config.into_bytes(),
|
||||||
}
|
}
|
||||||
.into_http_response()
|
.into_http_response()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue