trilium/services/config.js

8 lines
161 B
JavaScript
Raw Normal View History

2017-10-22 09:10:33 +08:00
"use strict";
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;