From 2b1eeb3e4ec4cc7a1602f05be839627d9af0268b Mon Sep 17 00:00:00 2001 From: ShineCorine Date: Thu, 28 Mar 2024 23:05:57 +0900 Subject: [PATCH] =?UTF-8?q?hotfix=20:=20http=EB=A1=9C=20=EC=8B=9C=EC=9E=91?= =?UTF-8?q?=ED=95=98=EB=8A=94=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20=ED=8C=8C?= =?UTF-8?q?=EC=9D=BC=20=EC=A3=BC=EC=86=8C=EA=B0=80=20=EC=A0=9C=EB=8C=80?= =?UTF-8?q?=EB=A1=9C=20=EB=82=98=EC=98=A4=EC=A7=80=20=EC=95=8A=EB=8A=94=20?= =?UTF-8?q?=EB=AC=B8=EC=A0=9C=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/src/main/java/kr/co/yigil/file/AttachFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/support/domain/src/main/java/kr/co/yigil/file/AttachFile.java b/backend/support/domain/src/main/java/kr/co/yigil/file/AttachFile.java index a8f9bd3f8..95392771a 100644 --- a/backend/support/domain/src/main/java/kr/co/yigil/file/AttachFile.java +++ b/backend/support/domain/src/main/java/kr/co/yigil/file/AttachFile.java @@ -42,7 +42,7 @@ public AttachFile(final FileType fileType, final String fileUrl, final String or public String getFileUrl() { if(fileUrl.equals("")) return fileUrl; - + if(fileUrl.startsWith("http") || fileUrl.startsWith("https")) return fileUrl; return "http://cdn.yigil.co.kr/" + fileUrl; } public static AttachFile of(String fileUrl) {