mirror of
https://github.com/usatiuk/ustk-todolist.git
synced 2025-10-28 15:47:48 +01:00
update pretty much everything
update tests to workaround (I think) this thing https://github.com/facebook/jest/issues/9624 didn't update react-spring because too lazy
This commit is contained in:
@@ -2,6 +2,6 @@ const jwt = require('express-jwt');
|
||||
const { secret } = require('../config');
|
||||
|
||||
module.exports = {
|
||||
required: jwt({ secret }),
|
||||
optional: jwt({ secret, credentialsRequired: false }),
|
||||
required: jwt({ secret, algorithms: ['HS256'] }),
|
||||
optional: jwt({ secret, credentialsRequired: false, algorithms: ['HS256'] }),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user