diff --git a/src/assets/index.js b/src/assets/index.js index 4da39b2..db4846d 100644 --- a/src/assets/index.js +++ b/src/assets/index.js @@ -125,6 +125,8 @@ async function deletePath(index) { const file = DATA.paths[index]; if (!file) return; + if (!confirm(`Delete \`${file.name}\`?`)) return; + try { const res = await fetch(getUrl(file.name), { method: "DELETE",