Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
bryangerlach committed Jul 17, 2024
1 parent 5791ca4 commit 5a592a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api/templates/clients.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</tr>
{% for filename, fileinfo in client_files.items %}
<tr>
<td><a href='/download?filename={{filename}}'>{{filename}}</a></td>
<td><a href='/download?filename={{filename}}&path={{fileinfo.path}}'>{{filename}}</a></td>
<td>{{fileinfo.modified}}</td>
</tr>
{% endfor %}
Expand Down
1 change: 1 addition & 0 deletions api/views_front.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ def download_file(request, filename, path):

@login_required(login_url='/api/user_action?action=login')
def download(request):
print("i'm here")
filename = request.GET['filename']
path = request.GET['path']
print(path)
Expand Down

0 comments on commit 5a592a3

Please sign in to comment.