mirror of
https://github.com/bpatrik/pigallery2.git
synced 2024-11-21 17:56:45 +02:00
fixing config-only check error
This commit is contained in:
parent
2757af6bf0
commit
506dd799f5
2
Procfile
2
Procfile
@ -1 +1 @@
|
||||
web: node ./src/backend/index.js --Client-authenticationRequired=false --Client-Sharing-enabled=false
|
||||
web: npm start -- --Client-authenticationRequired=false --Client-Sharing-enabled=false
|
||||
|
@ -32,7 +32,7 @@ export class ConfigClass extends PrivateConfigDefaultsClass implements IPrivateC
|
||||
['MYSQL_DATABASE', 'Server-Database-mysql-database']]);
|
||||
this.removeComment();
|
||||
|
||||
if (process.argv.indexOf('--config-only')) {
|
||||
if (process.argv.indexOf('--config-only') !== -1) {
|
||||
console.log('started with \'--config-only\' flag. Saving config and exiting.');
|
||||
process.exit();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user