more articles

This commit is contained in:
2019-01-03 20:59:50 +01:00
parent 77cff49e41
commit fccaeed07e
9 changed files with 8 additions and 8 deletions

2
dist/config.js vendored
View File

@ -4,7 +4,7 @@ const fs = require("fs");
const cmdargs = require("command-line-args");
const OPTION_DEFINITIONS = [
{ name: 'verbose', alias: 'v', type: Boolean },
{ name: 'config', alias: 'c', type: String, defaultValue: '~/homepage.conf' }
{ name: 'config', alias: 'c', type: String, defaultValue: './homepage.conf' }
];
function readConfig() {
let options = cmdargs(OPTION_DEFINITIONS);