mirror of
https://github.com/zotero/zotero.git
synced 2026-09-22 00:32:47 +00:00
Avoid XML Parsing Error in Firefox console for ping requests
This commit is contained in:
parent
09d4960e1f
commit
cac01100a6
1 changed files with 1 additions and 1 deletions
|
|
@ -799,7 +799,7 @@ Zotero.Server.Connector.Ping.prototype = {
|
|||
'<title>Zotero Connector Server is Available</title></head>' +
|
||||
'<body>Zotero Connector Server is Available</body></html>'];
|
||||
} else {
|
||||
return [200];
|
||||
return [200, 'text/plain', ''];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue