new oclib
This commit is contained in:
2
main.go
2
main.go
@@ -29,7 +29,7 @@ func main() {
|
||||
o.GetStringDefault("MONGO_DATABASE", "DC_myDC"),
|
||||
"",
|
||||
)
|
||||
oclib.Init("oc-catalog")
|
||||
oclib.Init("oc-catalog", o.GetStringDefault("HOSTNAME", "localhost"), o.GetStringDefault("PORT", "8088"))
|
||||
// Normal beego init
|
||||
//if beego.BConfig.RunMode == "dev" {
|
||||
beego.BConfig.WebConfig.DirectoryIndex = true
|
||||
|
||||
Reference in New Issue
Block a user