mirror of
https://github.com/toptal/haste-server.git
synced 2024-11-14 10:35:18 +01:00
3a72d74537
Closes #258
44 lines
521 B
JavaScript
44 lines
521 B
JavaScript
{
|
|
|
|
"host": "0.0.0.0",
|
|
"port": 7777,
|
|
|
|
"keyLength": 10,
|
|
|
|
"maxLength": 400000,
|
|
|
|
"staticMaxAge": 86400,
|
|
|
|
"recompressStaticAssets": true,
|
|
|
|
"logging": [
|
|
{
|
|
"level": "verbose",
|
|
"type": "Console",
|
|
"colorize": true
|
|
}
|
|
],
|
|
|
|
"keyGenerator": {
|
|
"type": "phonetic"
|
|
},
|
|
|
|
"rateLimits": {
|
|
"categories": {
|
|
"normal": {
|
|
"totalRequests": 500,
|
|
"every": 60000
|
|
}
|
|
}
|
|
},
|
|
|
|
"storage": {
|
|
"type": "file"
|
|
},
|
|
|
|
"documents": {
|
|
"about": "./about.md"
|
|
}
|
|
|
|
}
|