viewSource theme config

This commit is contained in:
Bamieh
2017-08-27 15:19:44 +03:00
committed by Nicolas Giard
parent dca237267a
commit 4b33a83d4e
4 changed files with 7 additions and 3 deletions

View File

@@ -28,6 +28,7 @@ module.exports = (confPaths) => {
fs.readFileSync(confPaths.config, 'utf8')
)
)
appdata = yaml.safeLoad(fs.readFileSync(confPaths.data, 'utf8'))
appdata.regex = require(confPaths.dataRegex)
} catch (ex) {