I have the following config in appsettings.json
"AvailableThemes": {
"DefaultThemeKey": "abt",
"Themes": [
{
"ThemeKey": "xc",
"ThemeTitle": "XC 13"
},
{
"ThemeKey": "abt",
"ThemeTitle": "Taxis"
"RegistrationSupported": true,
"IntroText": "Hello",
}
]
}
}
I need to be able to override RegistrationSupported in an environment variable so I can deploy the site with registration disabled and enable it when the linked site goes live.
AvailableThemes:Themes:RegistrationSupported
but that won't work because it won't know which item to override. I've tried an indexer like this...
AvailableThemes:Themes[1]:RegistrationSupported
...which didn't work.