This commit is contained in:
@@ -340,9 +340,9 @@ public class ApiController {
|
||||
errorData));
|
||||
}
|
||||
|
||||
String fullPath = baseStoragePath + "/" + entityResponse.getProtectStatus();
|
||||
// String fullPath = baseStoragePath + "/" + entityResponse.getProtectStatus();
|
||||
// Path filePath = Paths.get(entityResponse.getProtectStatus());
|
||||
Path filePath = Paths.get(fullPath);
|
||||
Path filePath = Paths.get(entityResponse.getProtectStatus());
|
||||
Resource resource = new UrlResource(filePath.toUri());
|
||||
|
||||
if (!resource.exists()) {
|
||||
|
||||
Reference in New Issue
Block a user