Update server.py

This commit is contained in:
Namhyeon Go 2024-02-18 04:24:33 +09:00 committed by GitHub
parent 96d0ec18f0
commit 2eb828fec8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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