We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4aad8b commit 60af836Copy full SHA for 60af836
demo.html
@@ -452,7 +452,8 @@ <h2>📄 页面源码获取</h2>
452
</div>
453
454
<script>
455
- const API_BASE = 'http://localhost:57573';
+ // 动态获取当前页面的协议、主机和端口作为API基础地址
456
+ const API_BASE = `${window.location.protocol}//${window.location.host}`;
457
458
// 切换高级参数显示
459
function toggleAdvanced(elementId) {
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "pup-sniffer",
3
- "version": "1.0.2",
+ "version": "1.0.3",
4
"description": "Video resource sniffer using Puppeteer and Fastify",
5
"main": "server.cjs",
6
"bin": "server.cjs",
0 commit comments