File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/main/java/com/example/kolor_spring/Controller Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -70,11 +70,12 @@ public String getFilename() {
7070 System .out .println ("Sending request to Flask API with LUT: " + lut );
7171 System .out .println ("Original image size: " + image .getSize () + " bytes" );
7272
73- final String dockerAPIUrl = "http://python-service-service:5000" ;
73+ final String dockerAPIUrl = "http://python-service:5000" ;
74+ final String k8sAPIUrl = "http://python-service-service:5000" ;
7475
7576 // Make request to Flask API
7677 byte [] imageBytes = webClient .post ()
77- .uri (dockerAPIUrl + "/correctAPI" )
78+ .uri (k8sAPIUrl + "/correctAPI" )
7879 .contentType (MediaType .MULTIPART_FORM_DATA )
7980 .body (BodyInserters .fromMultipartData (bodyBuilder .build ()))
8081 .retrieve ()
You can’t perform that action at this time.
0 commit comments