liquid_feedback_frontend

diff app/main/api/platform_config.lua @ 1669:09f275c1f606

Added platform config API endpoint
author bsw
date Thu Apr 22 14:25:42 2021 +0200 (2021-04-22)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/app/main/api/platform_config.lua	Thu Apr 22 14:25:42 2021 +0200
     1.3 @@ -0,0 +1,5 @@
     1.4 +slot.set_layout(nil, "application/json")
     1.5 +
     1.6 +local r = config.platform_config
     1.7 +
     1.8 +slot.put_into("data", json.export(json.object{ result = r }))

Impressum / About Us