Atualli commited on
Commit
229eb2b
1 Parent(s): d3371fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -105,7 +105,7 @@ def getdatalocal():
105
  def getpathvideo():
106
  video = request.args.get('c')
107
  # new = urllib.parse.quote(video)
108
- newurl = 'http://atualli.ddns.net:8088/getpathvideo?c='+video
109
  print(newurl)
110
  res = requests.get(newurl)
111
 
@@ -114,8 +114,8 @@ def getpathvideo():
114
 
115
  @ app.route('/<file>' , methods=['GET'])
116
  def fileget(file):
117
- # newurl = 'http://painel.atualli.com/'+file
118
- newurl = 'http://atualli.ddns.net:8088/'+file
119
  res = requests.get(newurl)
120
 
121
  headers = [
 
105
  def getpathvideo():
106
  video = request.args.get('c')
107
  # new = urllib.parse.quote(video)
108
+ newurl = 'http://painel.atualli.com/getpathvideo?c='+video
109
  print(newurl)
110
  res = requests.get(newurl)
111
 
 
114
 
115
  @ app.route('/<file>' , methods=['GET'])
116
  def fileget(file):
117
+ newurl = 'http://painel.atualli.com/'+file
118
+ #newurl = 'http://atualli.ddns.net:8088/'+file
119
  res = requests.get(newurl)
120
 
121
  headers = [