修复图片上传后无法正常显示的问题

master
云丶言 2022-05-24 00:18:06 +08:00
parent 743a373edb
commit 0b4add1cd1
2 changed files with 2 additions and 3 deletions

View File

@ -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()+"/";
}
/**

View File

@ -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: