From 5d7a659df71e381059c8fb2c885474ddf320f1d9 Mon Sep 17 00:00:00 2001 From: KANG JISEOK Date: Wed, 19 Jun 2024 22:58:58 +0900 Subject: [PATCH] =?UTF-8?q?hotfix=20:=20main=EC=9C=BC=EB=A1=9C=20=EC=9E=98?= =?UTF-8?q?=EB=AA=BB=20=EB=B3=91=ED=95=A9=EB=90=9C=EA=B1=B0=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fcm/service/FCMNotificationService.java | 5 ----- BackEnd/src/main/resources/application.yml | 22 +++++++++---------- 2 files changed, 11 insertions(+), 16 deletions(-) diff --git a/BackEnd/src/main/java/springwebsocket/webchat/fcm/service/FCMNotificationService.java b/BackEnd/src/main/java/springwebsocket/webchat/fcm/service/FCMNotificationService.java index 3275b47..fe9ed0f 100644 --- a/BackEnd/src/main/java/springwebsocket/webchat/fcm/service/FCMNotificationService.java +++ b/BackEnd/src/main/java/springwebsocket/webchat/fcm/service/FCMNotificationService.java @@ -26,13 +26,8 @@ public String sendNotificationByToken(FCMNotificationRequestDto requestDto) { if (member.isPresent()) { if (member.get().getFirebaseToken() != null) { Map data = new HashMap<>(); -<<<<<<< HEAD data.put("title",requestDto.getTitle()); data.put("body",requestDto.getBody()); -======= - data.put("title", requestDto.getTitle()); - data.put("body", requestDto.getBody()); ->>>>>>> 2f5eb62125f5c6701b7cf15180a0af3f1751349b Message message = Message.builder() .setToken(member.get().getFirebaseToken()) diff --git a/BackEnd/src/main/resources/application.yml b/BackEnd/src/main/resources/application.yml index 5f57f1f..d93faf4 100644 --- a/BackEnd/src/main/resources/application.yml +++ b/BackEnd/src/main/resources/application.yml @@ -11,22 +11,22 @@ springdoc: #SSL -#server: -# ssl: -# key-store: file:/home/ubuntu/key/ssl/keystore.p12 -# key-store-type: PKCS12 -# key-store-password: 1234 +server: + ssl: + key-store: file:/home/ubuntu/key/ssl/keystore.p12 + key-store-type: PKCS12 + key-store-password: 1234 #MySQL spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver -# url: ${MYSQL_DATABASE_URL} -# username: ${MYSQL_DATABASE_USERNAME} -# password: ${MYSQL_DATABASE_PASSWORD} - url: "jdbc:mysql://localhost:3306/JPA?characterEncoding=UTF-8&serverTimezone=UTC" - username: "springDB" - password: + url: ${MYSQL_DATABASE_URL} + username: ${MYSQL_DATABASE_USERNAME} + password: ${MYSQL_DATABASE_PASSWORD} +# url: "jdbc:mysql://localhost:3306/JPA?characterEncoding=UTF-8&serverTimezone=UTC" +# username: "springDB" +# password: jpa: show-sql: true hibernate: