Skip to content

Commit

Permalink
deploy: 755121e
Browse files Browse the repository at this point in the history
  • Loading branch information
CC11001100 committed Jan 13, 2025
1 parent e9285e5 commit 5fd83c5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
Empty file added api/jsonp-request-encrypt
Empty file.
2 changes: 2 additions & 0 deletions api/jsonp-response-encrypt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/**/
typeof handleResponse === 'function' && handleResponse("U2FsdGVkX18rBfEyWLHuYMCBCNiUGmSzykWc125VYOxitQk1B++h0NHofu8++22+Qc7PHxOIT0ei8yfGkTR54Ol2B16IeOGChwBO8O09KCdmwPkKqvcbwwfvkwVLYyAl6kQJB3DglOhulcammEdIlAf/yl4ZY6IC");
2 changes: 1 addition & 1 deletion jsonp-request-encrypt-and-response-encrypt.html
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ <h1>JSONP Example</h1>
}

const script = document.createElement('script');
script.src = `/api/jsonp-request-encrypt-and-response-encrypt?encryptedData=${encodeURIComponent(encryptedData)}&callback=handleResponse`;
script.src = `./api/jsonp-request-encrypt-and-response-encrypt?encryptedData=${encodeURIComponent(encryptedData)}&callback=handleResponse`;
document.body.appendChild(script);

// 无用代码块 2
Expand Down
2 changes: 1 addition & 1 deletion jsonp-request-encrypt.html
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ <h1>JSONP 参数加密示例</h1>
console.log("加密后的数据:", _0x1a2bData);

// 发送 JSONP 请求
_0x4e5d("/api/jsonp-request-encrypt", "_0x3f8a", _0x1a2bData);
_0x4e5d("./api/jsonp-request-encrypt", "_0x3f8a", _0x1a2bData);
});
</script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion jsonp-response-encrypt.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ <h1>解密结果</h1>
const inputData = document.getElementById('inputData').value;

// 发送 JSONP 请求
jsonpRequest("/api/jsonp-response-encrypt", "handleResponse", inputData);
jsonpRequest("./api/jsonp-response-encrypt", "handleResponse", inputData);
});
</script>
</body>
Expand Down

0 comments on commit 5fd83c5

Please sign in to comment.