X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fcontrollers%2Flive.ts;h=81008f120d213cdb5b9975b9c3958d0e4e2a2ea4;hb=c55e3d7227fe1453869e309025996b9d75256d5d;hp=f2686fb237d9b3dd4528eb7fbd9996298a34920a;hpb=cf21b2cbef61929177b9c09b5e017c3b7eb8535d;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/controllers/live.ts b/server/controllers/live.ts index f2686fb23..81008f120 100644 --- a/server/controllers/live.ts +++ b/server/controllers/live.ts @@ -1,8 +1,8 @@ -import * as cors from 'cors' -import * as express from 'express' +import cors from 'cors' +import express from 'express' import { mapToJSON } from '@server/helpers/core-utils' import { LiveSegmentShaStore } from '@server/lib/live' -import { HttpStatusCode } from '@shared/core-utils/miscs/http-error-codes' +import { HttpStatusCode } from '@shared/models' const liveRouter = express.Router()