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) {