mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-20 06:29:53 +01:00
remove -k argument as it is currently for both sessionkey and apikey
This commit is contained in:
parent
b466acd881
commit
971853ca58
1 changed files with 2 additions and 2 deletions
|
@ -40,12 +40,12 @@ for ( var i = 0; i < argv.length; i++ ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Override location of settings.json file
|
// Override location of settings.json file
|
||||||
if ( prevArg == '--sessionkey' || prevArg == '-k' ) {
|
if ( prevArg == '--sessionkey' ) {
|
||||||
exports.argv.sessionkey = arg;
|
exports.argv.sessionkey = arg;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Override location of settings.json file
|
// Override location of settings.json file
|
||||||
if ( prevArg == '--apikey' || prevArg == '-k' ) {
|
if ( prevArg == '--apikey' ) {
|
||||||
exports.argv.apikey = arg;
|
exports.argv.apikey = arg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue