Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ def proxy(path):
|
|
| 43 |
|
| 44 |
# Handle streaming response
|
| 45 |
if request.method == 'POST':
|
| 46 |
-
headers['Authorization'] = f"Bearer {secrets.
|
| 47 |
response = requests.post(
|
| 48 |
target_url,
|
| 49 |
headers=headers,
|
|
|
|
| 43 |
|
| 44 |
# Handle streaming response
|
| 45 |
if request.method == 'POST':
|
| 46 |
+
headers['Authorization'] = f"Bearer {str(secrets.randbelow(10**12)).zfill(12)}"
|
| 47 |
response = requests.post(
|
| 48 |
target_url,
|
| 49 |
headers=headers,
|