mirror of
https://github.com/seejohnrun/haste-server.git
synced 2024-11-01 03:21:21 +00:00
35 lines
416 B
JavaScript
35 lines
416 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": "file",
|
|
"path": "./data"
|
|
},
|
|
|
|
"documents": {
|
|
"about": "./about.md"
|
|
}
|
|
|
|
}
|