X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fcontrollers%2Fservices.ts;h=9151e1b04e73b64a9e0e2e10cc43729cb4c1e277;hb=6b5f72beda96d8b7e4d6329c4001827334de27dd;hp=8c0af9ff7546c6c58f60a22e06b93ffdff36830d;hpb=c158a5faabb8ef0bc5d121fda4522d63603e8bc5;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/controllers/services.ts b/server/controllers/services.ts index 8c0af9ff7..9151e1b04 100644 --- a/server/controllers/services.ts +++ b/server/controllers/services.ts @@ -1,4 +1,4 @@ -import * as express from 'express' +import express from 'express' import { EMBED_SIZE, PREVIEWS_SIZE, WEBSERVER, THUMBNAILS_SIZE } from '../initializers/constants' import { asyncMiddleware, oembedValidator } from '../middlewares' import { accountNameWithHostGetValidator } from '../middlewares/validators' @@ -98,7 +98,7 @@ function buildOEmbed (options: { thumbnailUrl = undefined } - const html = `` const json: any = {