trilium/services/config.js

6 lines
146 B
JavaScript
Raw Normal View History

const ini = require('ini');
const fs = require('fs');
2017-10-16 07:47:05 +08:00
const config = ini.parse(fs.readFileSync('config.ini', 'utf-8'));
module.exports = config;