Skip to content

Commit

Permalink
feat: create the internal config file used by the server that contain…
Browse files Browse the repository at this point in the history
…s all default server settings
  • Loading branch information
teclone committed Jul 23, 2018
1 parent 075b9f1 commit dcfde45
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions src/.rsvrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"tempDir": "storage/temp",
"staticFileDir": ["/"],
"cacheControl": "no-cache, max-age=86400",
"encoding": "latin1",
"maxBufferSize": 50000000,

"mimeTypes": {
"json": "application/json",
"html": "text/html",
"xml": "text/xml",
"js": "text/javascript",
"css": "text/css",
"jpg": "image/jpeg",
"jpeg": "image/jpeg",
"png": "image/png",
"mp3": "audio/mp3",
"mp4": "video/mp4",
"pdf": "application/pdf"
},
"defaultDocuments": [
"index.html"
],
"httpErrors": {
"baseDir": "",
"404": ""
}
}

0 comments on commit dcfde45

Please sign in to comment.