修复图片上传后无法正常显示的问题
parent
743a373edb
commit
0b4add1cd1
|
@ -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()+"/";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue