Change connector server response to "Zotero is running"

People are confused by "Zotero Connector Server is Available". I'm not
sure if this will be any better, but not mentioning the connector might
help -- that seems to be part of the problem.

We could display a longer message with a link to
https://www.zotero.org/support/kb/connector_zotero_unavailable, but this
is the /ping page that gets hit constantly, so it seems like we should
keep it short (though probably it doesn't make a difference).
This commit is contained in:
Dan Stillman 2022-10-07 01:29:19 -04:00
parent bde157b085
commit 23a6af128b

View file

@ -1687,9 +1687,8 @@ Zotero.Server.Connector.Ping.prototype = {
*/
init: function (req) {
if (req.method == 'GET') {
return [200, "text/html", '<!DOCTYPE html><html><head>' +
'<title>Zotero Connector Server is Available</title></head>' +
'<body>Zotero Connector Server is Available</body></html>'];
return [200, "text/html", '<!DOCTYPE html><html>'
+ '<body>Zotero is running</body></html>'];
} else {
// Store the active URL so it can be used for site-specific Quick Copy
if (req.data.activeURL) {