diff --git a/src/main/java/org/ntlab/acanthus_server/resources/gallery/StrokesRest.java b/src/main/java/org/ntlab/acanthus_server/resources/gallery/StrokesRest.java index b3f3c9d..66448e4 100644 --- a/src/main/java/org/ntlab/acanthus_server/resources/gallery/StrokesRest.java +++ b/src/main/java/org/ntlab/acanthus_server/resources/gallery/StrokesRest.java @@ -124,8 +124,9 @@ String path1 = ""; try { // path1 = applicationContext.getResource("http:").getFile().getAbsolutePath() + "/apache-tomcat-9.0.10/webapps"; - path1 = applicationContext.getResource("http:").getFile().getAbsolutePath() + "/webapps"; - Base64Decode.saveAsFile(aid, pid, path1, image); + path1 = applicationContext.getResource("file:").getFile().getAbsolutePath() + "/apache-tomcat-9.0.10/webapps"; + String url = "http://nitta-lab-www.is.konan-u.ac.jp" + path1; + Base64Decode.saveAsFile(aid, pid, url, image); } catch (IOException e) { e.printStackTrace();