support proxy prefix

This commit is contained in:
sentriz
2020-01-27 17:00:23 +00:00
parent 6ad284aa3e
commit 2e85c95018
19 changed files with 401 additions and 361 deletions

View File

@@ -7,7 +7,7 @@
are you sure?<br/>
<span class="light">their plays, starred, etc. will also be deleted</span>
</div>
<form action="/admin/delete_user_do?user={{ .SelectedUser.Name }}" method="post">
<form action="{{ printf "/admin/delete_user_do?user=%s" .SelectedUser.Name | path }}" method="post">
<input type="submit" value="yes">
</form>
</div>