Updated cache function to use checkCache function when checking cache
This commit is contained in:
parent
f1b599c678
commit
fa0c529a52
|
@ -136,7 +136,7 @@ var Links = {
|
|||
}
|
||||
|
||||
//store the new link if not stored already
|
||||
if (!Links.cached.includes(link)) {
|
||||
if (!Links.checkCache(link)) {
|
||||
Links.cached.push(link);
|
||||
Log.info("Cached URL: " + link);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue