Skip to content

Commit

Permalink
Merge pull request #222 from TeamDon-tBe/fix/#221
Browse files Browse the repository at this point in the history
[FIX] ec2 firebase경로 수정
  • Loading branch information
Hong0329 authored May 20, 2024
2 parents bd5dd25 + 0a2f774 commit 294e60a
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@
import com.google.firebase.messaging.FirebaseMessagingException;
import com.google.firebase.messaging.Message;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.core.io.ClassPathResource;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Map;

Expand All @@ -25,8 +23,6 @@ public class FcmService {

private final ObjectMapper objectMapper;

@Value("${firebase.config.path}") // 외부 설정 파일로부터 파일 경로를 읽어옵니다.
private String firebaseConfigPath;
@PostConstruct
public void initialize() throws IOException {
// fire-base.json 파일 읽기
Expand Down

0 comments on commit 294e60a

Please sign in to comment.