trilium/services/config.js
2017-10-15 19:47:05 -04:00

6 lines
No EOL
146 B
JavaScript

const ini = require('ini');
const fs = require('fs');
const config = ini.parse(fs.readFileSync('config.ini', 'utf-8'));
module.exports = config;