make prefix configurable

This commit is contained in:
2022-06-14 21:09:30 -04:00
parent bc5fa6c666
commit 74d23a5ad8
2 changed files with 13 additions and 4 deletions

View File

@@ -28,7 +28,7 @@
<td>{{ .Title }}</td>
<td>
{{ if eq .Status "Done" }}
<a href="./vids/{{ .FileName }}">Watch</a>
<a href="{{ vids_prefix }}/{{ .FileName }}">Watch</a>
{{ else if eq .Status "InProgress" }}
{{ .Progress }}
{{ else }}