From 3ae1d82c5c4b3cd1f59399186fbab601e2d312d4 Mon Sep 17 00:00:00 2001 From: fantasystar94 Date: Tue, 10 Feb 2026 16:49:08 +0900 Subject: [PATCH] =?UTF-8?q?feat=20:=20=ED=8C=8C=EC=9D=B4=EC=96=B4=EB=B2=A0?= =?UTF-8?q?=EC=9D=B4=EC=8A=A4=20=EC=98=A4=EB=A5=98=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/example/lineofduty/common/config/GcpConfig.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/example/lineofduty/common/config/GcpConfig.java b/src/main/java/com/example/lineofduty/common/config/GcpConfig.java index 42735b0..9ae39d5 100644 --- a/src/main/java/com/example/lineofduty/common/config/GcpConfig.java +++ b/src/main/java/com/example/lineofduty/common/config/GcpConfig.java @@ -34,10 +34,11 @@ public class GcpConfig { @Bean public GoogleCredentials googleCredentials() throws IOException { - + //aws 환경 json 줄바꿈 해결 String fixedPrivateKey = privateKey .replace("\\n", "\n") - .replace("\"", ""); // 따옴표 중복 제거 + .replace("\\\\n", "\n") + .trim(); // 2. JSON 구조를 Map으로 생성 Map jsonMap = new HashMap<>();