Removed logs where possible, for now.

This commit is contained in:
Jesse Malotaux 2025-04-12 15:30:51 +02:00
parent 266110a51f
commit d373237127
5 changed files with 9 additions and 14 deletions

View file

@ -2,7 +2,6 @@ package app
import (
"be/app/helper"
"log"
"mime"
"net/http"
"path/filepath"
@ -31,8 +30,6 @@ func ApiGet(w http.ResponseWriter, r *http.Request) {
file = "../public" + r.URL.Path // request
}
log.Println("ApiGet file: ", file)
contentType := mime.TypeByExtension(filepath.Ext(file)) // get content type
if contentType != "" {