Skip to content

Commit 5a6e1a0

Browse files
author
Chamara Abesinghe
committed
fix npm error
1 parent 0843bf7 commit 5a6e1a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ app.get('/:author/:repo/:folder?', async (req, res) => {
4444
}
4545
}
4646

47-
const headers = this.util.headersWithNewName(entry.headers, file.replace(/^[^\/]*./, ''));
47+
const headers = this.util.headersWithNewName(entry.headers, 'package/' + file.replace(/^[^\/]*./, ''));
4848

4949
this.push({ ...entry, headers });
5050
},

0 commit comments

Comments
 (0)