Skip to content

Commit

Permalink
setting: 환경 변수 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
ChoiWonYu committed Nov 22, 2023
1 parent dc74e1d commit 8fa8bad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;

Expand Down
3 changes: 0 additions & 3 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,3 @@ jwt:
secret: eyJhbGciOiJIUzI1NiJ9eyJSb2xlIjoiQWRtaW4iLCJJc3N1ZXIiOiJJc3N1ZXIiLCJVc2VybmFtZSI6IkphdmFJblVzZSIsImV4cCI6MTY5ODUxMjMwMSwiaWF0IjoxNjk4NTEyMzAxfQkMdVrwZRf8VyrDh0RH56LUQWZWM7eRKrzWm6MBqzvrk
expired: 604800000

OPENVIDU_URL: { DOMAIN_OR_PUBLIC_IP }
OPENVIDU_SECRET: { OPENVIDU_SECRET }

0 comments on commit 8fa8bad

Please sign in to comment.