Skip to content

Commit 5be0b88

Browse files
committed
更新云函数配置
1 parent 99ae3cb commit 5be0b88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ def Scan(port):
4949

5050
def main_handler(event, context):
5151
global ip, ports
52-
results_per_thread.clear()
5352
ip = event["queryString"]["ip"]
5453
ports = event["queryString"]["port"].split(",")
5554

@@ -63,6 +62,7 @@ def main_handler(event, context):
6362

6463
# 将端口列表转换为逗号分隔的字符串
6564
a = ",".join(str(port) for port in open_ports)
65+
results_per_thread.clear()
6666
return a
6767
```
6868

0 commit comments

Comments
 (0)