fixed tatort api route for deletion
Some checks failed
InnoHub Processor/tatort/pipeline/pr-development There was a failure building this commit

This commit is contained in:
2025-06-30 08:35:20 +02:00
parent de7b27bd71
commit fe9f8add88
4 changed files with 1 additions and 1 deletions

View File

@@ -208,7 +208,7 @@
url.pathname += `/${filename}`;
try {
const response = await fetch(`api/${url}`, { method: 'DELETE' });
const response = await fetch(`/api${url.pathname}`, { method: 'DELETE' });
if (response.status == 204) {
setTimeout(() => {
window.location.reload();