diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-01-16 10:56:48 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2017-01-16 10:56:48 -0800 |
commit | 957926591fd8fc2adacf04f410e5127dec259c85 (patch) | |
tree | 1ccc4e9aebfedcbec8199b9fa5d28414e6ec3ca2 /system/admin/server.go | |
parent | cb4f6cd182bf538b2b7c297e56d6f7665607d19f (diff) |
clear up debug artifacts and add info to console messages
Diffstat (limited to 'system/admin/server.go')
-rw-r--r-- | system/admin/server.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/system/admin/server.go b/system/admin/server.go index 25ff52c..11bfe6f 100644 --- a/system/admin/server.go +++ b/system/admin/server.go @@ -1,7 +1,6 @@ package admin import ( - "fmt" "log" "net/http" "os" @@ -53,6 +52,4 @@ func Run() { // through the editor will not load within the admin system. uploadsDir := filepath.Join(pwd, "uploads") http.Handle("/api/uploads/", api.Record(api.CORS(db.CacheControl(http.StripPrefix("/api/uploads/", http.FileServer(restrict(http.Dir(uploadsDir)))))))) - - fmt.Println("Admin routes registered.") } |