mirror of
https://github.com/toptal/haste-server.git
synced 2024-11-14 10:35:18 +01:00
cc65e98940
Closes #7
39 lines
474 B
JavaScript
39 lines
474 B
JavaScript
{
|
|
|
|
"host": "localhost",
|
|
"port": 7777,
|
|
|
|
"keyLength": 10,
|
|
|
|
"maxLength": 400000,
|
|
|
|
"staticMaxAge": 86400,
|
|
|
|
"recompressStaticAssets": true,
|
|
|
|
"logging": [
|
|
{
|
|
"level": "verbose",
|
|
"type": "Console",
|
|
"colorize": true
|
|
}
|
|
],
|
|
|
|
"keyGenerator": {
|
|
"type": "phonetic"
|
|
},
|
|
|
|
"storage": {
|
|
"type": "redis",
|
|
"host": "localhost",
|
|
"port": 6379,
|
|
"db": 2,
|
|
"expire": 2592000
|
|
},
|
|
|
|
"documents": {
|
|
"about": "./about.md"
|
|
}
|
|
|
|
}
|