Skip to content
This repository was archived by the owner on Jan 6, 2022. It is now read-only.

Commit 0511fc8

Browse files
committed
fix argument order
1 parent f9149be commit 0511fc8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function serve (archive, opts) {
3333

3434
function onfile (archive, name, req, res) {
3535
archive.stat(name, function (err, st) {
36-
if (err) return on404(archive, res, req)
36+
if (err) return on404(archive, req, res)
3737

3838
if (st.isDirectory()) {
3939
res.statusCode = 302

0 commit comments

Comments
 (0)