Update API documentation and license information

This commit is contained in:
ycc
2024-09-05 09:22:06 +02:00
parent e9ff0bd58c
commit 17aeef4ad0
5 changed files with 20 additions and 20 deletions

View File

@@ -16,7 +16,7 @@ func main() {
// Load the right config file
o := oclib.GetConfLoader()
// feed the library with the loaded config,
// feed the library with the loaded config
oclib.SetConfig(
o.GetStringDefault("MONGO_URL", "mongodb://127.0.0.1:27017"),
o.GetStringDefault("MONGO_DATABASE", "DC_myDC"),
@@ -29,6 +29,6 @@ func main() {
beego.BConfig.Listen.HTTPPort = o.GetIntDefault("port", 8080)
beego.BConfig.WebConfig.DirectoryIndex = true
beego.BConfig.WebConfig.StaticDir["/swagger"] = "swagger"
//}
beego.Run()
}