diff --git a/src/main/java/com/ntlab/irisserver/resources/KeywordsRest.java b/src/main/java/com/ntlab/irisserver/resources/KeywordsRest.java index 174039d..3c0d200 100644 --- a/src/main/java/com/ntlab/irisserver/resources/KeywordsRest.java +++ b/src/main/java/com/ntlab/irisserver/resources/KeywordsRest.java @@ -29,14 +29,11 @@ public String[] getKeywords() throws IOException { String path; - //ntlabサーバのパス - path = applicationContext.getResource("file:").getFile().getAbsolutePath()+"/irisdata/keywords.txt"; - //ローカルパス - //path = "C:\\Users\\student\\Desktop\\IrisServer\\src\\main\\java\\com\\ntlab\\irisserver\\models\\keywords.txt"; + path = applicationContext.getResource("file:").getFile().getAbsolutePath() + +"/irisdata/keywords.txt"; KeywordManager km = KeywordManager.getInstance(); - String[] keywords = km.getKeywords(path); - return keywords; + return km.getKeywords(path); } }