mirror of
https://github.com/zadam/trilium.git
synced 2024-12-25 08:43:03 +08:00
9 lines
No EOL
228 B
JavaScript
9 lines
No EOL
228 B
JavaScript
"use strict";
|
|
|
|
const ini = require('ini');
|
|
const fs = require('fs');
|
|
const dataDir = require('./data_dir');
|
|
|
|
const config = ini.parse(fs.readFileSync(dataDir.TRILIUM_DATA_DIR + '/config.ini', 'utf-8'));
|
|
|
|
module.exports = config; |