移除一些无用的日志
This commit is contained in:
parent
e406aebf40
commit
a6c3b1c081
@ -44,7 +44,6 @@ const getTokenFromBody = function (request) {
|
||||
|
||||
const zTokenParserPlugin: FastifyPluginAsync = async function (fastify: FastifyInstance, options?: any) {
|
||||
fastify.addHook('preValidation', async (request: FastifyRequest, reply: FastifyReply) => {
|
||||
console.log('token parser preValidation')
|
||||
request['token'] =
|
||||
getTokenFromHeader(request) ||
|
||||
getTokenFromCookie(request) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user