trilium/services/source_id.js
2017-11-06 19:23:35 -05:00

8 lines
No EOL
174 B
JavaScript

const utils = require('./utils');
const log = require('./log');
const sourceId = utils.randomString(16);
log.info("Using sourceId=" + sourceId);
module.exports = sourceId;