Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -69,6 +69,8 @@ def autentica():
|
|
69 |
@ app.route('/proxyimg', methods=['GET'])
|
70 |
def proxyimg():
|
71 |
newurl = request.args.get('prox')
|
|
|
|
|
72 |
res = requests.get(newurl)
|
73 |
|
74 |
response = Response(res.content, res.status_code, res.headers)
|
|
|
69 |
@ app.route('/proxyimg', methods=['GET'])
|
70 |
def proxyimg():
|
71 |
newurl = request.args.get('prox')
|
72 |
+
print(newurl)
|
73 |
+
newurl = "http://painel.atualli.com:8098/getcamera?c=12"
|
74 |
res = requests.get(newurl)
|
75 |
|
76 |
response = Response(res.content, res.status_code, res.headers)
|