I want to change the Umbraco/CMS/Global/ReservedPaths configuration setting from inside my program.cs instead of doing it in appsettings.json.
Why? I have so many reserved paths that the json is getting unwieldy
"ReservedPaths": "~/path1,~/path2,~/path3", /* but with longer paths and many more
Does anybody know if this is possible? It seems like during startup in program.cs it would be a good opportunity.
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/114911-changing-configuration-from-code-instead-of-appsettingsjson