Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sunwu51 committed Jul 12, 2024
1 parent 0ae466e commit 89482c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 24.07/注入任意react网站.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tags:
var OldWs = window.WebSocket;

function NewWs(url, protocols) {
const wsInstance = OldWs(url, protocals);
const wsInstance = OldWs(url, protocols);
// 实现原来功能之后,把全局变量ws赋值
window.ws = wsInstance;
return wsInstance;
Expand Down

0 comments on commit 89482c3

Please sign in to comment.