mirror of
https://framagit.org/les/gancio.git
synced 2025-02-01 00:52:01 +01:00
minor
This commit is contained in:
parent
7163fe88ae
commit
25f5864964
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ let config = {
|
|||
db: {},
|
||||
upload_path: path.resolve(process.env.cwd || '', 'uploads'),
|
||||
write (config_path= process.env.config_path || './config.json') {
|
||||
delete config.firstrun
|
||||
return fs.writeFileSync(config_path, JSON.stringify(config, null, 2))
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue