This commit is contained in:
mr
2024-08-27 15:39:24 +02:00
parent 514f581c98
commit a6ea93448e
3 changed files with 4 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ func main() {
o.GetStringDefault("MONGO_DATABASE", "DC_myDC"),
"",
)
oclib.Init("oc-workspace")
oclib.Init("oc-workspace", o.GetStringDefault("HOSTNAME", "localhost"), o.GetStringDefault("PORT", "8089"))
// Normal beego init
//if beego.BConfig.RunMode == "dev" {
beego.BConfig.WebConfig.DirectoryIndex = true