Skip to content

Commit 6bf1a26

Browse files
committed
ts: lib/config/default.js
1 parent 4121c99 commit 6bf1a26

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
'use strict'
1+
import * as os from "os";
22

3-
const os = require('os')
4-
5-
module.exports = {
3+
const defaultConfig = {
64
domain: '',
75
urlPath: '',
86
host: '0.0.0.0',
@@ -19,8 +17,7 @@ module.exports = {
1917
},
2018
csp: {
2119
enable: true,
22-
directives: {
23-
},
20+
directives: {},
2421
addDefaults: true,
2522
addDisqus: true,
2623
addGoogleAnalytics: true,
@@ -192,3 +189,5 @@ module.exports = {
192189
autoVersionCheck: true,
193190
defaultTocDepth: 3
194191
}
192+
193+
export = defaultConfig

0 commit comments

Comments
 (0)