patch prod
This commit is contained in:
@@ -9,9 +9,6 @@ import java.nio.file.Paths;
|
||||
public class FileService {
|
||||
|
||||
public boolean fileExists(String filePath) {
|
||||
System.out.println("1-" + filePath);
|
||||
System.out.println("2-" + Files.exists(Paths.get("src/main/resources/static"+filePath)));
|
||||
System.out.println("3-" + Files.exists(Paths.get(filePath)));
|
||||
if (Files.exists(Paths.get("src/main/resources/static"+filePath)) || Files.exists(Paths.get(filePath))){
|
||||
return true;
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user