This commit is contained in:
2
main.go
2
main.go
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user