打印日志

This commit is contained in:
luchenqun 2018-10-12 12:33:50 +08:00
parent a86c82e581
commit 144b9bfe50
1 changed files with 1 additions and 0 deletions

View File

@ -1236,6 +1236,7 @@ api.getFaviconByTimer = function() {
var url = bookmarks[0].url;
var faviconPath = './public/images/favicon/' + id + '.ico';
var defaultFile = './public/images/favicon/default.ico';
console.log("getBookmarkWaitFavicon url:" + url);
if (!/http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w- .\/?%&=]*)?/.test(url)) {
copyFile(defaultFile, faviconPath);