Update main.py
Browse files
main.py
CHANGED
|
@@ -72,12 +72,7 @@ async def reverse_proxy_handler(request: Request):
|
|
| 72 |
logging.info(f"Client '{request.client.host}' proxied with spoofed IP: {random_ip} for path: {url.path}")
|
| 73 |
|
| 74 |
specific_headers = {
|
| 75 |
-
"
|
| 76 |
-
"accept-language": "en-US,en;q=0.9,ru;q=0.8",
|
| 77 |
-
"content-type": "application/json",
|
| 78 |
-
"origin": "https://console.gmicloud.ai",
|
| 79 |
-
"referer": "https://console.gmicloud.ai/",
|
| 80 |
-
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
|
| 81 |
"x-forwarded-for": random_ip,
|
| 82 |
"x-real-ip": random_ip,
|
| 83 |
}
|
|
|
|
| 72 |
logging.info(f"Client '{request.client.host}' proxied with spoofed IP: {random_ip} for path: {url.path}")
|
| 73 |
|
| 74 |
specific_headers = {
|
| 75 |
+
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
"x-forwarded-for": random_ip,
|
| 77 |
"x-real-ip": random_ip,
|
| 78 |
}
|