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:
parent
29dd0cf5dc
commit
fd8aa4433c
1 changed files with 2 additions and 3 deletions
|
@ -1689,9 +1689,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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue