You've already forked pigallery2
mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-09-16 09:16:27 +02:00
fixing config-only check error
This commit is contained in:
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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user