mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 17:06:16 -04:00
Parameters: the version is exposed in http header only when configured
Currently the version is exposed in a 'Server' http headers. This commit allows to parameterize it in the settings. By defaults it is not exposed. Fixes #3423
This commit is contained in:
parent
8453f07205
commit
28a6f505c5
3 changed files with 20 additions and 1 deletions
|
@ -291,6 +291,13 @@ exports.scrollWhenFocusLineIsOutOfViewport = {
|
|||
"scrollWhenCaretIsInTheLastLineOfViewport": false
|
||||
};
|
||||
|
||||
/*
|
||||
* Expose Etherpad version in the Server http header.
|
||||
*
|
||||
* Do not enable on production machines.
|
||||
*/
|
||||
exports.exposeVersion = false;
|
||||
|
||||
// checks if abiword is avaiable
|
||||
exports.abiwordAvailable = function()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue