mirror of
https://github.com/xuthus83/pigallery2.git
synced 2025-01-14 14:43:17 +08: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']]);
|
['MYSQL_DATABASE', 'Server-Database-mysql-database']]);
|
||||||
this.removeComment();
|
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.');
|
console.log('started with \'--config-only\' flag. Saving config and exiting.');
|
||||||
process.exit();
|
process.exit();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user