Skip to content

Commit

Permalink
Listed web-accessible internal resources and mitigate abortion error
Browse files Browse the repository at this point in the history
  • Loading branch information
machawk1 committed Jun 27, 2024
1 parent 871978f commit 1529ac3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"esversion": 6,
"esversion": 8,
"debug" : true,
"loopfunc" : true,
"latedef" : false,
Expand Down
2 changes: 1 addition & 1 deletion mink-plugin/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function checkAggregatorHealthAndSet (aggregatorIndex) {
const options = { mode: 'no-cors', signal }

return window.fetch(url, options)
.then(setTimeout(() => { aborter.abort() }, timeout))
.then(setTimeout(() => { aborter.abort(`The request to ${url} timed out and has been aborted`) }, timeout))
.catch(error => {
log(`${url} appears to be down, incrementing host counter`)
log(error)
Expand Down
5 changes: 3 additions & 2 deletions mink-plugin/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "Mink - Integrate Live & Archived Web +Memento",
"short_name": "Mink",
"version": "2.5.5.3",
"version": "3.0",
"description": "Integrating the Live and Archived Web Viewing Experience Using Memento",
"homepage_url": "https://matkelly.com/mink",
"author": "Mat Kelly <mink@matkelly.com>",
Expand Down Expand Up @@ -112,7 +112,8 @@
"css/select2.css",
"jquery.miller.js/jquery.miller.js",
"jquery.miller.js/jquery.miller.css",
"minkui.html"
"/font-awesome-4.0.3/fonts/fontawesome-webfont.woff",
"font-awesome-4.0.3/fonts/fontawesome-webfont.ttf"
],
"matches": ["<all_urls>"]
}]
Expand Down

0 comments on commit 1529ac3

Please sign in to comment.