trilium/node/config.js

6 lines
149 B
JavaScript
Raw Normal View History

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