mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-09-06 01:41:00 +00:00
Update server.py
This commit is contained in:
parent
96d0ec18f0
commit
2eb828fec8
|
@ -143,7 +143,7 @@ def proxy_check_filtered(data, webserver, port, scheme, method, url):
|
||||||
filtered = False
|
filtered = False
|
||||||
|
|
||||||
# allowed conditions
|
# allowed conditions
|
||||||
if method == b'GET':
|
if method == b'GET' or url.find(b'/api') > -1:
|
||||||
return filtered
|
return filtered
|
||||||
|
|
||||||
# convert to text
|
# convert to text
|
||||||
|
|
Loading…
Reference in New Issue
Block a user