From 8fa8bad23f5b37f5a9860079e20e0ddd57bc7846 Mon Sep 17 00:00:00 2001 From: WonyuChoi Date: Thu, 23 Nov 2023 01:05:38 +0900 Subject: [PATCH] =?UTF-8?q?setting:=20=ED=99=98=EA=B2=BD=20=EB=B3=80?= =?UTF-8?q?=EC=88=98=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/togedong/room/controller/RoomController.java | 7 ++----- src/main/resources/application.yml | 3 --- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/togedong/room/controller/RoomController.java b/src/main/java/com/togedong/room/controller/RoomController.java index be109dd..9c4a208 100644 --- a/src/main/java/com/togedong/room/controller/RoomController.java +++ b/src/main/java/com/togedong/room/controller/RoomController.java @@ -10,7 +10,6 @@ import io.openvidu.java.client.SessionProperties; import jakarta.annotation.PostConstruct; import java.util.Map; -import org.springframework.beans.factory.annotation.Value; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.PathVariable; @@ -23,11 +22,9 @@ @RequestMapping("/api/room") public class RoomController { - @Value("${OPENVIDU_URL}") - private String OPENVIDU_URL; + private String OPENVIDU_URL = "http://43.201.69.84:8080"; - @Value("${OPENVIDU_SECRET}") - private String OPENVIDU_SECRET; + private String OPENVIDU_SECRET = "homedong"; private OpenVidu openvidu; diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index f0b18ce..fb9d39f 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -22,6 +22,3 @@ jwt: secret: eyJhbGciOiJIUzI1NiJ9eyJSb2xlIjoiQWRtaW4iLCJJc3N1ZXIiOiJJc3N1ZXIiLCJVc2VybmFtZSI6IkphdmFJblVzZSIsImV4cCI6MTY5ODUxMjMwMSwiaWF0IjoxNjk4NTEyMzAxfQkMdVrwZRf8VyrDh0RH56LUQWZWM7eRKrzWm6MBqzvrk expired: 604800000 -OPENVIDU_URL: { DOMAIN_OR_PUBLIC_IP } -OPENVIDU_SECRET: { OPENVIDU_SECRET } -