hot fix advertisement route conflict

This commit is contained in:
arifal
2025-03-04 15:58:30 +07:00
parent 43a246d234
commit 8fcf8859d6
3 changed files with 3 additions and 5 deletions

View File

@@ -73,7 +73,7 @@ document.addEventListener("DOMContentLoaded", function () {
}, 2000);
setTimeout(() => {
window.location.href = "/data/advertisements/index";
window.location.href = "/data/web-advertisements";
}, 1000);
} else {
if (authLogo) {

View File

@@ -39,7 +39,7 @@ console.log(dropzonePreviewNode);
"Upload Files";
// Tunggu sebentar lalu reload halaman
setTimeout(() => {
window.location.href = "/data/advertisements/index";
window.location.href = "/data/web-advertisements";
}, 2000);
});
// Listen for the error event