Improve default configuration

pull/20/head
Joe Biellik 4 years ago
parent ed7bbe6205
commit 6a53f7d4d3

@ -1,10 +1,14 @@
{ {
"name": "Paste", "name": "Paste",
"port": 3000, "host": "0.0.0.0",
"port": 80,
"db": "mongodb://localhost/paste", "db": "mongodb://localhost/paste",
"keys": [
"random key here"
],
"prettyHtml": true,
"cacheAge": 86400, "cacheAge": 86400,
"sizeLimit": "2mb", "sizeLimit": "2mb",
"prettyHtml": true,
"expiresDefault": 604800, "expiresDefault": 604800,
"expires": { "expires": {
"600": "10 minutes", "600": "10 minutes",

@ -1,4 +1,3 @@
{ {
"port": 80,
"db": "mongodb://db/paste" "db": "mongodb://db/paste"
} }

Loading…
Cancel
Save