We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f31f6e commit 008d558Copy full SHA for 008d558
1 file changed
background.js
@@ -49,7 +49,7 @@ function getJsonResource(tabID) {
49
var xhr = new XMLHttpRequest();
50
xhr.open("GET", jsonResourceURL, true);
51
xhr.onreadystatechange = function() {
52
- if (xhr.readyState === 4 && xhr.getResponseHeader("X-Powered-By") === "Express") {
+ if (xhr.readyState === 4 && xhr.getResponseHeader("X-Powered-By").substring(0, 7) === "Solidus") {
53
if(xhr.status === 200){ //Check this separately so we can notify devtools if we don't get a 200 response.
54
try {
55
notifyDevtools(JSON.parse(xhr.responseText));
0 commit comments