Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def proxy():
|
|
38 |
content = response.text
|
39 |
print(content)
|
40 |
|
41 |
-
return
|
42 |
except requests.RequestException as e:
|
43 |
return jsonify({'error': str(e)}), 500
|
44 |
|
|
|
38 |
content = response.text
|
39 |
print(content)
|
40 |
|
41 |
+
return f'<body><h1>{response.status_code}</h1></body>', response.status_code, headers
|
42 |
except requests.RequestException as e:
|
43 |
return jsonify({'error': str(e)}), 500
|
44 |
|