diff --git a/src/main/java/com/example/jieyue/common/utils/FileUtil.java b/src/main/java/com/example/jieyue/common/utils/FileUtil.java index 5e4e5d5..045f5be 100644 --- a/src/main/java/com/example/jieyue/common/utils/FileUtil.java +++ b/src/main/java/com/example/jieyue/common/utils/FileUtil.java @@ -21,7 +21,7 @@ public class FileUtil { String classpath; public FileUtil() throws FileNotFoundException { - this.classpath = ResourceUtils.getFile("classpath:/static").getPath()+"\\"; + this.classpath = ResourceUtils.getFile("classpath:/static").getPath()+"/"; } /** diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 9fb9d90..e59eb1d 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,5 +1,4 @@ -site-url: 119.91.222.184 -# site-url: 127.0.0.1 +site-url: 127.0.0.1 server: port: 80 tomcat: