Skip to content

Commit

Permalink
[CHORE] 파일 경로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sangminee committed Mar 11, 2024
1 parent 5f8b4fa commit f65a7dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/oya/kr/chat/config/FCMInitializer.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f65a7dd

Please sign in to comment.