better link for flip?

This commit is contained in:
2018-08-21 15:23:48 +03:00
parent 295061ea7a
commit b4cb2ba246
2 changed files with 8 additions and 7 deletions

View File

@@ -374,7 +374,7 @@ def file_direct(name, token, filename):
return "-1", 403
token = get_direct_token(share, filename)
url = url_for('download_direct', name = name, token = token, filename = filename )
return app.config['PUBLIC_URL'] + url, 200
return url, 200
@app.route('/file/ls/<name>/<token>', methods=['GET'])