haste-server/config/default.js

37 lines
594 B
JavaScript
Raw Normal View History

2014-03-18 14:19:21 +01:00
module.exports = {
host: process.env.HOST || 'localhost',
port: process.env.PORT || 7777,
keyLength: 10,
maxLength: 400000,
staticMaxAge: 86400,
recompressStaticAssets: true,
logging: [
{
level: "verbose",
type: "Console",
colorize: true
}
],
keyGenerator: {
type: "phonetic"
},
storage: {
type: "redis",
host: process.env.REDIS_HOST || 'localhost',
port: process.env.REDIS_PORT || 6379,
db: process.env.REDIS_DB || 2,
expire: process.env.REDIS_EXPIRE || 2592000
},
documents: {
about: "./about.md"
}
};