We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 339c9c7 commit 9f0a73eCopy full SHA for 9f0a73e
src/index.js
@@ -9,7 +9,7 @@ module.exports = function createServePlaceholder (_options) {
9
10
return function servePlaceholderMiddleware (req, res, next) {
11
// Get url from req object
12
- const { url } = req
+ const url = req.url.split('?')[0]
13
14
// Get ext of requst url
15
const ext = path.extname(url)
0 commit comments