Add info for index api

This commit is contained in:
Sambo Chea 2021-12-04 09:39:36 +07:00
parent 5ca2a37f5b
commit aeedfcd678
Signed by: sombochea
GPG Key ID: 3C7CF22A05D95490

View File

@ -26,6 +26,16 @@ class IndexController @Autowired constructor(
view["version"] = buildProperties.version
view["date"] = buildProperties.time
view["commit"] = buildProperties["commitId"]
view["authors"] = listOf(
mapOf(
"name" to "Sambo Chea",
"email" to "sombochea@cubetiqs.com",
),
mapOf(
"name" to "CUBETIQ OSS",
"email" to "oss@cubetiqs.com",
)
)
return response(view)
}