dev temp set urk
Test Workflow / test (push) Successful in 4s

This commit is contained in:
vladp
2026-03-07 02:18:56 +07:00
parent 60857d4077
commit 94061381c7
5 changed files with 35 additions and 25 deletions
@@ -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);