diff options
Diffstat (limited to 'cmd/cms/main.go')
-rw-r--r-- | cmd/cms/main.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/cms/main.go b/cmd/cms/main.go index 0b451c5..123c65e 100644 --- a/cmd/cms/main.go +++ b/cmd/cms/main.go @@ -5,6 +5,7 @@ import ( "fmt" "os" + "github.com/nilslice/cms/system/api" "github.com/nilslice/cms/system/db" ) @@ -97,7 +98,8 @@ func main() { } case "serve", "s": db.Init() - serve() + // admin.Run("8080") + api.Run("8000") case "": flag.PrintDefaults() |