Merge branch 'development' of ssh://gitea.innovation-hub-niedersachsen.de:4422/innohub/tatort into development
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit was not built
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit was not built
This commit is contained in:
@@ -208,7 +208,7 @@
|
|||||||
url.pathname += `/${filename}`;
|
url.pathname += `/${filename}`;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const response = await fetch(`api/${url}`, { method: 'DELETE' });
|
const response = await fetch(`/api${url.pathname}`, { method: 'DELETE' });
|
||||||
if (response.status == 204) {
|
if (response.status == 204) {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
|
|||||||
Reference in New Issue
Block a user