mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
Fix syntax that causes errors (generateKeys log)
This commit is contained in:
parent
51414ced3a
commit
001c77e686
@ -93,7 +93,7 @@ const generateKeys = () => {
|
|||||||
try {
|
try {
|
||||||
fs.writeFileSync(keysFile, JSON.stringify(keys, null, 2));
|
fs.writeFileSync(keysFile, JSON.stringify(keys, null, 2));
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
logger.error('Could not write JWT key pair to config file: ' + keysFile + ': ' . err.message);
|
logger.error('Could not write JWT key pair to config file: ' + keysFile + ': ' + err.message);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
logger.info('Wrote JWT key pair to config file: ' + keysFile);
|
logger.info('Wrote JWT key pair to config file: ' + keysFile);
|
||||||
|
Loading…
Reference in New Issue
Block a user