remove comment
All checks were successful
Build Slideshow App / build (amd64, .exe, windows) (push) Successful in 1m59s
Build Slideshow App / build (amd64, , linux) (push) Successful in 2m15s
Build Slideshow App / build (arm, 7, , linux) (push) Successful in 2m4s
Build Slideshow App / build (arm64, , linux) (push) Successful in 2m4s

This commit is contained in:
Adrian Zürcher
2026-01-21 09:04:00 +01:00
parent d1f1ad563b
commit 7aef03a7cd

View File

@@ -73,7 +73,7 @@ func DeleteHandler(w http.ResponseWriter, r *http.Request) {
// 2. Delete each file // 2. Delete each file
for _, name := range filenames { for _, name := range filenames {
fullPath := filepath.Join(uploadDir, filepath.Base(name)) // Base() for security fullPath := filepath.Join(uploadDir, filepath.Base(name))
os.Remove(fullPath) os.Remove(fullPath)
} }