mirror of
https://github.com/seejohnrun/haste-server.git
synced 2024-11-01 11:31:22 +00:00
Revert config.js to previous state
This commit is contained in:
parent
0d8aec8d61
commit
b31d143bcd
1 changed files with 45 additions and 34 deletions
79
config.js
79
config.js
|
@ -1,36 +1,47 @@
|
||||||
{
|
{
|
||||||
"host": "0.0.0.0",
|
|
||||||
"port": 7777,
|
"host": "0.0.0.0",
|
||||||
"keyLength": 10,
|
"port": 7777,
|
||||||
"maxLength": 400000,
|
|
||||||
"staticMaxAge": 86400,
|
"keyLength": 10,
|
||||||
"recompressStaticAssets": true,
|
|
||||||
"logging": [
|
"maxLength": 400000,
|
||||||
{
|
|
||||||
"level": "verbose",
|
"staticMaxAge": 86400,
|
||||||
"type": "Console",
|
|
||||||
"colorize": true
|
"recompressStaticAssets": true,
|
||||||
}
|
|
||||||
],
|
"logging": [
|
||||||
"keyGenerator": {
|
{
|
||||||
"type": "phonetic"
|
"level": "verbose",
|
||||||
},
|
"type": "Console",
|
||||||
"rateLimits": {
|
"colorize": true
|
||||||
"categories": {
|
}
|
||||||
"normal": {
|
],
|
||||||
"totalRequests": 500,
|
|
||||||
"every": 60000
|
"keyGenerator": {
|
||||||
}
|
"type": "phonetic"
|
||||||
}
|
},
|
||||||
},
|
|
||||||
"storage": {
|
"rateLimits": {
|
||||||
"type": "redis",
|
"categories": {
|
||||||
"host": "0.0.0.0",
|
"normal": {
|
||||||
"port": 6379,
|
"totalRequests": 500,
|
||||||
"db": 2,
|
"every": 60000
|
||||||
"expire": 2592000
|
}
|
||||||
},
|
}
|
||||||
"documents": {
|
},
|
||||||
"about": "./about.md"
|
|
||||||
}
|
"storage": {
|
||||||
|
"type": "redis",
|
||||||
|
"host": "0.0.0.0",
|
||||||
|
"port": 6379,
|
||||||
|
"db": 2,
|
||||||
|
"expire": 2592000
|
||||||
|
},
|
||||||
|
|
||||||
|
"documents": {
|
||||||
|
"about": "./about.md"
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue