Skip to content

Commit

Permalink
feat(lapis): add instance name to landing page json
Browse files Browse the repository at this point in the history
  • Loading branch information
fengelniederhammer committed Aug 28, 2024
1 parent b2c9a94 commit 6c5f81b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class LandingPageController(
""".trimIndent()

@RequestMapping("/", produces = [MediaType.APPLICATION_JSON_VALUE])
fun helloJson() = links
fun helloJson() = links + ("Instance name" to databaseConfig.schema.instanceName)

private fun getHtmlLinkItems() =
links
Expand Down

0 comments on commit 6c5f81b

Please sign in to comment.