|
@@ -23,11 +23,10 @@ import java.net.InetAddress;
|
|
|
@ForestScan(basePackages = "thyyxxk.webserver.service.externalhttp")
|
|
|
@Slf4j
|
|
|
public class WebServerApplication {
|
|
|
- public static String OS;
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
ConfigurableApplicationContext application = SpringApplication.run(WebServerApplication.class, args);
|
|
|
- OS = System.getProperty("os.name");
|
|
|
+ String OS = System.getProperty("os.name");
|
|
|
ZipUtil.setDirectory(OS.startsWith("Windows") ? "D:\\" : "/home/web-server/temp/");
|
|
|
try {
|
|
|
log.info("Done-CY");
|