diff options
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.") } |