@@ -86,10 +86,7 @@ public class SearchImageService {
|
||||
@Value("${searchapi.api-key:}")
|
||||
private String searchApiKey;
|
||||
|
||||
// @Value("${server.baseurl}")
|
||||
// private String appBaseUrl;
|
||||
|
||||
@Value("${BASE_URL}")
|
||||
@Value("${server.baseurl}")
|
||||
private String appBaseUrl;
|
||||
|
||||
@PostConstruct
|
||||
@@ -113,8 +110,7 @@ public class SearchImageService {
|
||||
);
|
||||
}
|
||||
|
||||
// String publicUrl = String.format("%s/api/files/public/%s", appBaseUrl, fileEntity.getId());
|
||||
String publicUrl = String.format("%s/api/files/public/%s", "https://workspace.not-copy.com", fileEntity.getId());
|
||||
String publicUrl = String.format("%s/api/files/public/%s", appBaseUrl, fileEntity.getId());
|
||||
|
||||
log.info("Searching reverse for image: {}", publicUrl);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user