We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3618b63 commit af2945aCopy full SHA for af2945a
1 file changed
index.js
@@ -67,8 +67,9 @@ const logIt = (e, level = 'fatal') => {
67
68
let lastParsed = {}
69
const parseUrl = (req) => {
70
+ let tmp = lastParsed
71
let sig = `${req.method}${req.url}`
- if (lastParsed.sig === sig) return lastParsed.data
72
+ if (tmp.sig === sig) return tmp.data
73
let fullUrl = decodeURIComponent(req.url)
74
let url = fullUrl.slice(baseChars)
75
let modIdx = url.indexOf('/')
0 commit comments