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.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/admin/server.go b/system/admin/server.go
index d5fd894..616a87d 100644
--- a/system/admin/server.go
+++ b/system/admin/server.go
@@ -1,6 +1,7 @@
package admin
import (
+ "fmt"
"log"
"net/http"
"os"
@@ -34,6 +35,7 @@ func Run() {
staticDir := filepath.Join(pwd, "cmd", "ponzu", "vendor", "github.com", "bosssauce", "ponzu", "system")
http.Handle("/admin/static/", CacheControl(http.StripPrefix("/admin/", http.FileServer(http.Dir(staticDir)))))
+ fmt.Println(staticDir)
// API path needs to be registered within server package so that it is handled
// even if the API server is not running. Otherwise, images/files uploaded