fix admin URLs: use relative paths like slideshow does

This commit is contained in:
Johannes
2026-05-06 04:58:00 +02:00
parent 22774e5449
commit 5d792062a2

View File

@@ -107,10 +107,10 @@
</div>
<div class="danger-zone">
<div class="danger-label">danger zone</div>
<form method="post" action="/admin/reset" onsubmit="return confirm('delete ALL pictures, previews and db records? this cannot be undone.')">
<form method="post" action="reset" onsubmit="return confirm('delete ALL pictures, previews and db records? this cannot be undone.')">
<button type="submit" class="btn-reset">reset everything</button>
</form>
</div>
<a class="back" href="/">← back to slideshow</a>
<a class="back" href="..">← back to slideshow</a>
</body>
</html>