]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/middlewares/servers.ts
Add upload/import/go live video attributes hooks
[github/Chocobozzz/PeerTube.git] / server / middlewares / servers.ts
index 9aa56bc93399478bd3894d899eea0f367af11cbb..ebfa03e6ca02ccc0747d93d4dfe0988140299be9 100644 (file)
@@ -1,6 +1,6 @@
-import * as express from 'express'
+import express from 'express'
+import { HttpStatusCode } from '../../shared/models/http/http-error-codes'
 import { getHostWithPort } from '../helpers/express-utils'
-import { HttpStatusCode } from '../../shared/core-utils/miscs/http-error-codes'
 
 function setBodyHostsPort (req: express.Request, res: express.Response, next: express.NextFunction) {
   if (!req.body.hosts) return next()