From 9264ba924d0da5e6e4d9ca3ccac46548ccc78960 Mon Sep 17 00:00:00 2001 From: sycuuui <102959791+sycuuui@users.noreply.github.com> Date: Wed, 17 Apr 2024 19:51:36 +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 dfec1a9..45f2563 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://0.0.0.0:5000/video"; // Flask 서버 URL + String url = "http://127.0.0.0:5000/test"; // Flask 서버 URL ResponseEntity response = restTemplate.postForEntity(url, requestEntity, byte[].class); // Flask에서 반환된 파일을 다시 클라이언트에게 반환