Tweak formatting

This commit is contained in:
MICHAEL JACKSON
2017-07-12 20:00:10 -07:00
parent f91bf5abd7
commit dc1af59fa1
2 changed files with 33 additions and 26 deletions

View File

@ -4,7 +4,14 @@ const mime = require('mime')
const TextFiles = /\/?(\.[a-z]*rc|\.git[a-z]*|\.[a-z]*ignore)$/i
mime.define({
'text/plain': ['license', 'readme', 'changes', 'authors', 'makefile', 'ts'],
'text/plain': [
'license',
'readme',
'changes',
'authors',
'makefile',
'ts'
]
})
const getContentType = (file) =>