mirror of
https://github.com/SunRed/haste-server.git
synced 2024-11-01 01:30:21 +01:00
32 lines
390 B
JavaScript
32 lines
390 B
JavaScript
{
|
|
|
|
"host": "localhost",
|
|
"port": 7777,
|
|
|
|
"keyLength": 6,
|
|
|
|
"maxLength": 400000,
|
|
|
|
"cacheStaticAssets": true,
|
|
|
|
"logging": [
|
|
{
|
|
"level": "verbose",
|
|
"type": "Console",
|
|
"colorize": true
|
|
}
|
|
],
|
|
|
|
"storage": {
|
|
"type": "redis",
|
|
"host": "localhost",
|
|
"port": 6379,
|
|
"db": 2,
|
|
"expire": 3600
|
|
},
|
|
|
|
"documents": {
|
|
"about": "./about.md"
|
|
}
|
|
|
|
}
|