]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/middlewares/validators/webfinger.ts
Add more info logging
[github/Chocobozzz/PeerTube.git] / server / middlewares / validators / webfinger.ts
index 894c724982004e03b042eec673b61864917bbea6..3b9645048c4130ac2d52d4782f6a5e58b703c62f 100644 (file)
@@ -1,9 +1,10 @@
 import * as express from 'express'
 import { query } from 'express-validator/check'
-import { getHostWithPort, logger } from '../../helpers'
 import { isWebfingerResourceValid } from '../../helpers/custom-validators/webfinger'
+import { logger } from '../../helpers/logger'
 import { ActorModel } from '../../models/activitypub/actor'
 import { areValidationErrors } from './utils'
+import { getHostWithPort } from '../../helpers/express-utils'
 
 const webfingerValidator = [
   query('resource').custom(isWebfingerResourceValid).withMessage('Should have a valid webfinger resource'),