Skip to content

Commit 3ca0321

Browse files
authored
re-enable normalizeUrl
1 parent c21a0d6 commit 3ca0321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const extractCss = async url => {
6565
}
6666

6767
module.exports = async (req, res) => {
68-
const url = req.url.slice(1)
68+
const url = normalizeUrl(req.url.slice(1), { stripWWW: false })
6969

7070
try {
7171
const css = url.endsWith('.css')

0 commit comments

Comments
 (0)