From 6ccdf3a23ecec5ba2eeaf487fd1fafdc7606b4bf Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 11 Jun 2018 19:16:00 +0200 Subject: Fix import with when the imported file has the same extension than an already existing file --- server/controllers/services.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/controllers/services.ts') diff --git a/server/controllers/services.ts b/server/controllers/services.ts index 1f82db9c4..1dd8e28e5 100644 --- a/server/controllers/services.ts +++ b/server/controllers/services.ts @@ -45,7 +45,8 @@ function generateOEmbed (req: express.Request, res: express.Response, next: expr thumbnailUrl = undefined } - const html = `` + const html = `` const json: any = { type: 'video', -- cgit v1.2.3