Skip to content

Commit a9ba6ab

Browse files
Gerard Rodesthgh
Gerard Rodes
authored andcommitted
set force true
1 parent face777 commit a9ba6ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function serve (options = { contentBase: '' }) {
2424
mime.default_type = 'text/plain'
2525

2626
if (options.mimeTypes) {
27-
mime.define(options.mimeTypes)
27+
mime.define(options.mimeTypes, true)
2828
}
2929

3030
const requestListener = (request, response) => {

0 commit comments

Comments
 (0)