rull commited on
Commit
d06202d
·
verified ·
1 Parent(s): ff6bfbc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def proxy():
38
  content = response.text
39
  print(content)
40
 
41
- return content, response.status_code, headers
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