mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
Log version number and git-sha on server start
This commit is contained in:
parent
8e4c961207
commit
db5bdc8719
3 changed files with 8 additions and 1 deletions
|
@ -207,6 +207,11 @@ exports.getGitCommit = function() {
|
|||
return version;
|
||||
}
|
||||
|
||||
// Return etherpad version from package.json
|
||||
exports.getEpVersion = function() {
|
||||
return require('ep_etherpad-lite/package.json').version;
|
||||
}
|
||||
|
||||
exports.reloadSettings = function reloadSettings() {
|
||||
// Discover where the settings file lives
|
||||
var settingsFilename = argv.settings || "settings.json";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue