Skip to content

Commit

Permalink
set force true
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerard Rodes authored and thgh committed Aug 27, 2020
1 parent face777 commit a9ba6ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function serve (options = { contentBase: '' }) {
mime.default_type = 'text/plain'

if (options.mimeTypes) {
mime.define(options.mimeTypes)
mime.define(options.mimeTypes, true)
}

const requestListener = (request, response) => {
Expand Down

0 comments on commit a9ba6ab

Please sign in to comment.