trilium/node/config.js

6 lines
No EOL
149 B
JavaScript

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