mirror of
https://github.com/YunoHost-Apps/haste_ynh.git
synced 2024-09-03 20:36:28 +02:00
47 lines
605 B
JavaScript
47 lines
605 B
JavaScript
{
|
|
|
|
"host": "127.0.0.1",
|
|
"port": __PORT__,
|
|
|
|
"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": "redis",
|
|
"host": "0.0.0.0",
|
|
"port": 6379,
|
|
"db": 2,
|
|
"expire": 2592000
|
|
},
|
|
|
|
"documents": {
|
|
"about": "./about.md"
|
|
}
|
|
|
|
}
|