Update filePath
This commit is contained in:
@@ -53,8 +53,7 @@ public class KSFileController {
|
||||
|
||||
private static final Logger logger = LoggerFactory.getLogger(KSFileController.class);
|
||||
|
||||
@Value("${document.storage.path}")
|
||||
private String document_path;
|
||||
private String document_path="/mnt/apollo_storage/documents";
|
||||
|
||||
|
||||
@PostMapping("/upload")
|
||||
|
||||
@@ -66,11 +66,9 @@ public class KnowledgeTreeController {
|
||||
@Autowired
|
||||
private NewDocumentServiceClient newDocumentServiceClient;
|
||||
|
||||
@Value("${document.storage.path}")
|
||||
private String documentStoragePath;
|
||||
private String documentStoragePath ="/mnt/apollo_storage/documents";
|
||||
|
||||
@Value("${video.storage.path}")
|
||||
private String videoStoragePath;
|
||||
private String videoStoragePath="/mnt/apollo_storage/videos";
|
||||
|
||||
private static final Logger logger = LoggerFactory.getLogger(KnowledgeTreeController.class);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user