ts: lib/config/default.js

Signed-off-by: Raccoon <raccoon@hackmd.io>
This commit is contained in:
Raccoon 2021-06-12 07:11:59 +08:00
parent 8d8d3f4c41
commit 39c5636b25
No known key found for this signature in database
GPG Key ID: 06770355DC9ECD38

View File

@ -1,8 +1,6 @@
'use strict'
import * as os from "os";
const os = require('os')
module.exports = {
const defaultConfig = {
domain: '',
urlPath: '',
host: '0.0.0.0',
@ -19,8 +17,7 @@ module.exports = {
},
csp: {
enable: true,
directives: {
},
directives: {},
addDefaults: true,
addDisqus: true,
addGoogleAnalytics: true,
@ -192,3 +189,5 @@ module.exports = {
autoVersionCheck: true,
defaultTocDepth: 3
}
export = defaultConfig