Create the directory if not exists
Build and test backend / Build-backend (pull_request) Successful in 2m2s
Build and test backend / Test-backend (pull_request) Successful in 1m57s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 26s

This commit is contained in:
tonitch committed 2024-03-13 19:54:41 +01:00
1 parent cead1188ab
commit 08c3800bae
1 file changed
+8
@@ -24,6 +24,14 @@ public class StorageService {
public StorageService(FileRepository filerepo){
this.fileRepo = filerepo;
if(!Files.exists(rootLocation)){
try {
Files.createDirectories(rootLocation);
} catch(IOException e){
e.printStackTrace();
}
}
}