1
0
Fork 0
mirror of https://github.com/SunRed/haste-server.git synced 2024-11-23 17:50:19 +01:00

Revert config.js to previous state

This commit is contained in:
Jacob Gunther 2017-12-11 09:45:37 -06:00 committed by GitHub
parent 0d8aec8d61
commit b31d143bcd
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,16 @@
{ {
"host": "0.0.0.0", "host": "0.0.0.0",
"port": 7777, "port": 7777,
"keyLength": 10, "keyLength": 10,
"maxLength": 400000, "maxLength": 400000,
"staticMaxAge": 86400, "staticMaxAge": 86400,
"recompressStaticAssets": true, "recompressStaticAssets": true,
"logging": [ "logging": [
{ {
"level": "verbose", "level": "verbose",
@ -12,9 +18,11 @@
"colorize": true "colorize": true
} }
], ],
"keyGenerator": { "keyGenerator": {
"type": "phonetic" "type": "phonetic"
}, },
"rateLimits": { "rateLimits": {
"categories": { "categories": {
"normal": { "normal": {
@ -23,6 +31,7 @@
} }
} }
}, },
"storage": { "storage": {
"type": "redis", "type": "redis",
"host": "0.0.0.0", "host": "0.0.0.0",
@ -30,7 +39,9 @@
"db": 2, "db": 2,
"expire": 2592000 "expire": 2592000
}, },
"documents": { "documents": {
"about": "./about.md" "about": "./about.md"
} }
} }