Skip to content
This repository was archived by the owner on Jun 24, 2024. It is now read-only.

Commit 3e95ea1

Browse files
committed
fix: use correct mime type key
1 parent e66500e commit 3e95ea1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/middleware.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ module.exports = class Middleware extends EventEmitter {
8282

8383
js() {
8484
return (req, res, next) => {
85-
res.type('javascript');
85+
res.type('js');
8686
this.writers.js
8787
.bundle()
8888
.on('error', next)

0 commit comments

Comments
 (0)