1
0
Fork 0
mirror of https://github.com/SunRed/haste-server.git synced 2024-11-27 11:20:18 +01:00
haste-server/config.js

39 lines
470 B
JavaScript
Raw Normal View History

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