We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d66c7c commit af6a20dCopy full SHA for af6a20d
1 file changed
background.js
@@ -50,7 +50,7 @@ function getJsonResource(tabID) {
50
xhr.open('GET', jsonResourceURL, true);
51
xhr.onreadystatechange = function() {
52
var isSolidus, errMsg;
53
- isSolidus = (xhr.getResponseHeader('X-Powered-By').match(/Express/i));
+ isSolidus = (xhr.getResponseHeader('X-Powered-By').match(/Solidus/i));
54
if (xhr.readyState === 4 && isSolidus) { // Is complete Solidus response?
55
if(xhr.status !== 200){ // Check that Solidus response didn't fail
56
errMsg = 'Failed to get Solidus context. Status: ' + xhr.status;
0 commit comments