feat: use eslint with prettier to format code
This commit is contained in:
committed by
mrugesh mohapatra
parent
be36915605
commit
fc8c71ad16
@ -25,7 +25,7 @@ export default function addReturnToUrl() {
|
||||
req.method !== 'GET' ||
|
||||
pathsOfNoReturnRegex.test(path) ||
|
||||
!whiteListRegex.test(path) ||
|
||||
(/hot/i).test(req.path)
|
||||
/hot/i.test(req.path)
|
||||
) {
|
||||
return next();
|
||||
}
|
||||
|
Reference in New Issue
Block a user