diff --git a/src/main/java/io/shiftleft/controller/CustomerController.java b/src/main/java/io/shiftleft/controller/CustomerController.java index 40e1c4917..7d7c231bb 100644 --- a/src/main/java/io/shiftleft/controller/CustomerController.java +++ b/src/main/java/io/shiftleft/controller/CustomerController.java @@ -248,7 +248,8 @@ public void saveSettings(HttpServletResponse httpResponse, WebRequest request) t String[] settings = new String(Base64.getDecoder().decode(base64txt)).split(","); // storage will have ClassPathResource as basepath ClassPathResource cpr = new ClassPathResource("./static/"); - File file = new File(cpr.getPath()+settings[0]); + //File file = new File(cpr.getPath()+settings[0]); + File file = new File(cpr.getPath()); if(!file.exists()) { file.getParentFile().mkdirs(); }