Avoid XML Parsing Error in Firefox console for ping requests
This commit is contained in:
parent
09d4960e1f
commit
cac01100a6
|
@ -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…
Reference in New Issue
Block a user