fix(upload): add some logging and cleanup
All checks were successful
build / Go-Build (pull_request) Successful in 32s
build / Go-Build (push) Successful in 40s

This commit is contained in:
2026-02-03 08:16:10 +01:00
parent 08a7d8eebe
commit 884ad120c9
2 changed files with 1 additions and 1 deletions

View File

@@ -27,7 +27,6 @@ func Start() {
if err := http.ListenAndServe(":3000", nil); err != nil { if err := http.ListenAndServe(":3000", nil); err != nil {
panic(err) panic(err)
} }
} }
func registerAuthorized(path string, f func(w http.ResponseWriter, r *http.Request)) { func registerAuthorized(path string, f func(w http.ResponseWriter, r *http.Request)) {

View File

@@ -21,6 +21,7 @@ func NewFileStorage(path string) *FileSvgStorage {
if err != nil { if err != nil {
panic(err) panic(err)
} }
log.Println("Initialized file storage handler")
return &FileSvgStorage{path} return &FileSvgStorage{path}
} }