|
@@ -51,7 +51,7 @@ public class IndexController {
|
|
|
final String rootDir = systemProperty.getTempDir();
|
|
|
FileUtils.makeDirs(rootDir);
|
|
|
|
|
|
- String targetUrl = "http://baidu.com";
|
|
|
+ String targetUrl = "https://www.baidu.com";
|
|
|
String pdfPath = rootDir + "/test.pdf";
|
|
|
ElectronUtils.toPdf(systemProperty.getProfile(), systemProperty.getDir(), targetUrl, pdfPath);
|
|
|
}
|