summaryrefslogtreecommitdiff
path: root/system/admin/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'system/admin/server.go')
-rw-r--r--system/admin/server.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/admin/server.go b/system/admin/server.go
index 991f2d2..8b759e4 100644
--- a/system/admin/server.go
+++ b/system/admin/server.go
@@ -1,6 +1,7 @@
package admin
import (
+ "fmt"
"log"
"net/http"
"os"
@@ -54,4 +55,6 @@ func Run() {
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.")
}