Spaces:
Running
Running
Commit
·
1bc1c22
1
Parent(s):
2af4039
Update main.py
Browse files
main.py
CHANGED
@@ -44,7 +44,7 @@ def proxy(url):
|
|
44 |
return Response(req.iter_content(chunk_size=10*1024), content_type=content_type)
|
45 |
|
46 |
except requests.exceptions.RequestException as e:
|
47 |
-
print(f'Error: {e}')
|
48 |
return send_file('static/error.png', mimetype='image/png')
|
49 |
|
50 |
@app.route('/')
|
|
|
44 |
return Response(req.iter_content(chunk_size=10*1024), content_type=content_type)
|
45 |
|
46 |
except requests.exceptions.RequestException as e:
|
47 |
+
print(f'MY Error: {e}')
|
48 |
return send_file('static/error.png', mimetype='image/png')
|
49 |
|
50 |
@app.route('/')
|