|
@ -130,6 +130,7 @@ public class CandidateController { |
|
|
try { |
|
|
try { |
|
|
file.transferTo(f); |
|
|
file.transferTo(f); |
|
|
String imgURL = "http://localhost:8443/api/file/" + f.getName(); |
|
|
String imgURL = "http://localhost:8443/api/file/" + f.getName(); |
|
|
|
|
|
// String imgURL = "http://localhost:8080/images/" + f.getName();
|
|
|
return imgURL; |
|
|
return imgURL; |
|
|
} catch (IOException e) { |
|
|
} catch (IOException e) { |
|
|
e.printStackTrace(); |
|
|
e.printStackTrace(); |
|
|