Skip to content

Commit

Permalink
fix: git 설정 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ny2060 committed Jun 7, 2024
1 parent 49bb92b commit cce905a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ public class FirebaseConfig {
@Bean
public FirebaseApp firebaseApp() throws IOException {

System.out.println("fcm");
InputStream resource = new ClassPathResource("triptogether-e7bac-firebase-adminsdk-peiki-127517aa66.json").getInputStream();

// JsonReader jsonReader = new JsonReader(new InputStreamReader(resource));
// jsonReader.setLenient(true);

byte[] jsonBytes = resource.readAllBytes();
System.out.println("fcm");
String jsonString = new String(jsonBytes, StandardCharsets.UTF_8);
System.out.println("fcm"+jsonString);

Expand Down

0 comments on commit cce905a

Please sign in to comment.