mirror of
https://github.com/SunRed/haste-server.git
synced 2024-11-01 01:30:21 +01:00
31 lines
No EOL
504 B
JavaScript
31 lines
No EOL
504 B
JavaScript
module.exports = {
|
|
"host": "127.0.0.1",
|
|
"port": 4200,
|
|
|
|
"keyLength": 10,
|
|
"maxLength": 400000,
|
|
|
|
"staticMaxAge": 60 * 60 * 24,
|
|
|
|
"recompressStaticAssets": true,
|
|
|
|
"logging": [], //re-add this feature later
|
|
|
|
"keyGenerator": {
|
|
"type": "phonetic"
|
|
},
|
|
|
|
"rateLimits": {
|
|
"windowMs": 60 * 60 * 1000,
|
|
"max": 500
|
|
},
|
|
|
|
"storage": {
|
|
"type": "file",
|
|
"path": "./data"
|
|
},
|
|
|
|
"documents": {
|
|
"about": "./about.md"
|
|
}
|
|
} |