mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-15 03:26:53 -04:00
Update src/node/hooks/express/apicalls.js
This commit is contained in:
parent
e59496fbe7
commit
e5525d4e16
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ exports.expressCreateServer = function (hook_name, args, cb) {
|
||||||
|
|
||||||
//Provide a possibility to query the latest available API version
|
//Provide a possibility to query the latest available API version
|
||||||
args.app.get('/api', function (req, res) {
|
args.app.get('/api', function (req, res) {
|
||||||
res.json({"latestApiVersion" : apiHandler.latestAPI});
|
res.json({"latestApiVersion" : apiHandler.latestApiVersion});
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue