From a11f25cf07ecbe2d49115feb9499c37a1acc808d Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Fri, 10 Jul 2020 03:52:20 +0900 Subject: [PATCH] =?UTF-8?q?Fix=20#6513=20=E3=82=AD=E3=83=A3=E3=83=83?= =?UTF-8?q?=E3=82=B7=E3=83=A5=E3=81=95=E3=82=8C=E3=81=A6=E3=81=AA=E3=81=84?= =?UTF-8?q?=E3=83=AA=E3=83=A2=E3=83=BC=E3=83=88=E3=83=95=E3=82=A1=E3=82=A4?= =?UTF-8?q?=E3=83=AB=E3=81=AEURL=E3=81=8C=E7=9B=B8=E5=AF=BEURL=E3=81=A7?= =?UTF-8?q?=E8=BF=94=E3=81=A3=E3=81=A6=E3=81=8F=E3=82=8B=20(#6514)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/models/repositories/drive-file.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/repositories/drive-file.ts b/src/models/repositories/drive-file.ts index 63b9f6096..28a393cfb 100644 --- a/src/models/repositories/drive-file.ts +++ b/src/models/repositories/drive-file.ts @@ -39,7 +39,7 @@ export class DriveFileRepository extends Repository { const key = thumbnail ? file.thumbnailAccessKey : file.webpublicAccessKey; if (key && !key.match('/')) { // 古いものはここにオブジェクトストレージキーが入ってるので除外 - return `/files/${key}`; + return `${config.url}/files/${key}`; } }