打印日志
This commit is contained in:
parent
a86c82e581
commit
144b9bfe50
|
|
@ -1236,6 +1236,7 @@ api.getFaviconByTimer = function() {
|
||||||
var url = bookmarks[0].url;
|
var url = bookmarks[0].url;
|
||||||
var faviconPath = './public/images/favicon/' + id + '.ico';
|
var faviconPath = './public/images/favicon/' + id + '.ico';
|
||||||
var defaultFile = './public/images/favicon/default.ico';
|
var defaultFile = './public/images/favicon/default.ico';
|
||||||
|
console.log("getBookmarkWaitFavicon url:" + url);
|
||||||
|
|
||||||
if (!/http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w- .\/?%&=]*)?/.test(url)) {
|
if (!/http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w- .\/?%&=]*)?/.test(url)) {
|
||||||
copyFile(defaultFile, faviconPath);
|
copyFile(defaultFile, faviconPath);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue