diff --git a/src/main/java/com/oya/kr/chat/config/FCMInitializer.java b/src/main/java/com/oya/kr/chat/config/FCMInitializer.java index cbafaa8..0cbb52e 100644 --- a/src/main/java/com/oya/kr/chat/config/FCMInitializer.java +++ b/src/main/java/com/oya/kr/chat/config/FCMInitializer.java @@ -45,7 +45,7 @@ public void initialize() throws IOException { if (!initialized) { try { // EC2 root 디렉토리에 있는 파일에 접근하기 위해 FileSystemResource를 사용 - Resource resource = new FileSystemResource("/firebase.json"); + Resource resource = new FileSystemResource("/home/ubuntu/firebase.json"); byte[] jsonBytes = getJsonBytes(resource); String jsonContent = new String(jsonBytes, StandardCharsets.UTF_8);