haste-server/config.js

48 lines
599 B
JavaScript
Raw Normal View History

{
2012-09-27 12:03:52 -04:00
"host": "0.0.0.0",
2011-11-18 16:57:23 -05:00
"port": 7777,
2011-11-28 13:17:13 -05:00
"keyLength": 10,
2011-11-18 17:26:25 -05:00
2011-11-21 10:17:23 -05:00
"maxLength": 400000,
2011-11-23 13:14:18 -05:00
"staticMaxAge": 86400,
2011-11-21 23:00:28 -05:00
2011-11-27 15:49:17 -05:00
"recompressStaticAssets": true,
2011-11-18 17:26:25 -05:00
"logging": [
{
"level": "verbose",
"type": "Console",
"colorize": true
}
2011-11-18 18:04:24 -05:00
],
"keyGenerator": {
"type": "phonetic"
},
2016-03-06 16:20:40 -05:00
"rateLimits": {
"categories": {
"normal": {
"totalRequests": 500,
"every": 60000
}
}
},
2011-11-18 18:04:24 -05:00
"storage": {
2011-11-18 19:52:18 -05:00
"type": "redis",
2012-09-27 12:03:52 -04:00
"host": "0.0.0.0",
2011-11-18 19:52:18 -05:00
"port": 6379,
2011-11-21 22:03:50 -05:00
"db": 2,
2011-11-28 10:37:39 -05:00
"expire": 2592000
2011-11-22 09:22:37 -05:00
},
"documents": {
"about": "./about.md"
2011-11-18 18:04:24 -05:00
}
}