Update filePath

This commit is contained in:
2026-01-19 16:43:25 +01:00
parent 595a5f8d16
commit 326289a5ec
2 changed files with 3 additions and 6 deletions

View File

@@ -53,8 +53,7 @@ public class KSFileController {
private static final Logger logger = LoggerFactory.getLogger(KSFileController.class); private static final Logger logger = LoggerFactory.getLogger(KSFileController.class);
@Value("${document.storage.path}") private String document_path="/mnt/apollo_storage/documents";
private String document_path;
@PostMapping("/upload") @PostMapping("/upload")

View File

@@ -66,11 +66,9 @@ public class KnowledgeTreeController {
@Autowired @Autowired
private NewDocumentServiceClient newDocumentServiceClient; private NewDocumentServiceClient newDocumentServiceClient;
@Value("${document.storage.path}") private String documentStoragePath ="/mnt/apollo_storage/documents";
private String documentStoragePath;
@Value("${video.storage.path}") private String videoStoragePath="/mnt/apollo_storage/videos";
private String videoStoragePath;
private static final Logger logger = LoggerFactory.getLogger(KnowledgeTreeController.class); private static final Logger logger = LoggerFactory.getLogger(KnowledgeTreeController.class);