From 6bf799997673d3b5eed2d4f3303e40dc97a52c89 Mon Sep 17 00:00:00 2001 From: sycuuui <102959791+sycuuui@users.noreply.github.com> Date: Wed, 17 Apr 2024 20:16:08 +0900 Subject: [PATCH] fix : flask url --- .../com/capic/server/domain/video/service/VideoService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/capic/server/domain/video/service/VideoService.java b/src/main/java/com/capic/server/domain/video/service/VideoService.java index 44514cb..17a1f8f 100644 --- a/src/main/java/com/capic/server/domain/video/service/VideoService.java +++ b/src/main/java/com/capic/server/domain/video/service/VideoService.java @@ -232,7 +232,7 @@ public String getFilename() { // Flask 서버로 요청 보내기 RestTemplate restTemplate = new RestTemplate(); - String url = "http://127.0.0.1:5000/image"; // Flask 서버 URL + String url = "http://172.30.1.77:5000/image"; // Flask 서버 URL ResponseEntity response = restTemplate.postForEntity(url, requestEntity, byte[].class); // Flask에서 반환된 파일을 다시 클라이언트에게 반환