Skip to content

Commit

Permalink
Allow dotfiles to be served (#2641)
Browse files Browse the repository at this point in the history
  • Loading branch information
mischnic authored and devongovett committed Feb 17, 2019
1 parent a2e38f9 commit d86e4fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/parcel-bundler/src/Server.js
Expand Up @@ -36,7 +36,8 @@ function middleware(bundler) {
const serve = serveStatic(bundler.options.outDir, {
index: false,
redirect: false,
setHeaders: setHeaders
setHeaders: setHeaders,
dotfiles: 'allow'
});

return function(req, res, next) {
Expand Down

0 comments on commit d86e4fd

Please sign in to comment.