mirror of
https://github.com/Macrame-App/Macrame
synced 2025-12-29 07:19:26 +00:00
Removed logs where possible, for now.
This commit is contained in:
parent
266110a51f
commit
d373237127
5 changed files with 9 additions and 14 deletions
|
|
@ -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 != "" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue