haste-server/config.js

44 lines
521 B
JavaScript
Raw Permalink Normal View History

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