cleanup
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 33s

This commit is contained in:
matst80
2025-05-15 19:57:37 +02:00
parent 1fb2f490b7
commit ccd4bf56e1

View File

@@ -161,11 +161,9 @@ func main() {
log.Printf("Request: %+v, fileName:%s, method: %s", pth, fileName, r.Method)
folder, err := app.GetOrSpawn(pth)
if err != nil {
w.WriteHeader(http.StatusNotFound)
w.Write([]byte(err.Error()))
return
}
if fileName == "" {
authKey := r.Header.Get("Authorization")