summaryrefslogtreecommitdiff
path: root/system/admin/server.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-19 11:45:31 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-19 11:45:31 -0800
commit9c7f9d5c5a0ee41c405d2ebeb0ad00fe20a09b14 (patch)
treea878db3ba63c0f92fc0ec96a15bf4d2b07e1a63b /system/admin/server.go
parent3791fadda7b761ffba38c567da29e2e71acd1dfb (diff)
moving repository, bosssauce => ponzu-cms
Diffstat (limited to 'system/admin/server.go')
-rw-r--r--system/admin/server.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/admin/server.go b/system/admin/server.go
index bc6f4d6..b99ec37 100644
--- a/system/admin/server.go
+++ b/system/admin/server.go
@@ -6,9 +6,9 @@ import (
"os"
"path/filepath"
- "github.com/bosssauce/ponzu/system/admin/user"
- "github.com/bosssauce/ponzu/system/api"
- "github.com/bosssauce/ponzu/system/db"
+ "github.com/ponzu-cms/ponzu/system/admin/user"
+ "github.com/ponzu-cms/ponzu/system/api"
+ "github.com/ponzu-cms/ponzu/system/db"
)
// Run adds Handlers to default http listener for Admin
@@ -42,7 +42,7 @@ func Run() {
log.Fatal("Couldn't find current directory for file server.")
}
- staticDir := filepath.Join(pwd, "cmd", "ponzu", "vendor", "github.com", "bosssauce", "ponzu", "system")
+ staticDir := filepath.Join(pwd, "cmd", "ponzu", "vendor", "github.com", "ponzu-cms", "ponzu", "system")
http.Handle("/admin/static/", db.CacheControl(http.FileServer(restrict(http.Dir(staticDir)))))
// API path needs to be registered within server package so that it is handled