We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4121c99 commit 6bf1a26Copy full SHA for 6bf1a26
1 file changed
lib/config/default.js lib/config/default.tslib/config/default.js renamed to lib/config/default.ts
@@ -1,8 +1,6 @@
1
-'use strict'
+import * as os from "os";
2
3
-const os = require('os')
4
-
5
-module.exports = {
+const defaultConfig = {
6
domain: '',
7
urlPath: '',
8
host: '0.0.0.0',
@@ -19,8 +17,7 @@ module.exports = {
19
17
},
20
18
csp: {
21
enable: true,
22
- directives: {
23
- },
+ directives: {},
24
addDefaults: true,
25
addDisqus: true,
26
addGoogleAnalytics: true,
@@ -192,3 +189,5 @@ module.exports = {
192
189
autoVersionCheck: true,
193
190
defaultTocDepth: 3
194
191
}
+
+export = defaultConfig
0 commit comments