Skip to content

Commit

Permalink
fix(puppeteer): using 127.0.0.1 over localhost when fetching debugger…
Browse files Browse the repository at this point in the history
… details
  • Loading branch information
Afitzy98 committed Aug 4, 2022
1 parent 63230a5 commit 63c3b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/puppeteer.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = {
return activeTabName;
},
init: async () => {
const debuggerDetails = await fetch('http://localhost:9222/json/version'); //DevSkim: ignore DS137138
const debuggerDetails = await fetch('http://127.0.0.1:9222/json/version'); //DevSkim: ignore DS137138
const debuggerDetailsConfig = await debuggerDetails.json();
const webSocketDebuggerUrl = debuggerDetailsConfig.webSocketDebuggerUrl;

Expand Down

0 comments on commit 63c3b68

Please sign in to comment.