We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
NGPixel
Learn more about funding links in repositories.
Report abuse
1 parent cab16ee commit 7b14b39Copy full SHA for 7b14b39
server/helpers/security.js
@@ -32,7 +32,7 @@ module.exports = {
32
token = req.cookies['jwt']
33
}
34
// Force uploads to use Auth headers
35
- if (req.path === '/u') {
+ if (req.path.toLowerCase() === '/u') {
36
return null
37
38
return token
0 commit comments