add script injection to the config to import custom webfront scripts (ie google tracking)

This commit is contained in:
RaidMax
2021-10-19 20:17:10 -05:00
parent a2c7d92162
commit 1317102d00
4 changed files with 12 additions and 0 deletions

View File

@ -38,6 +38,9 @@ namespace SharedLibraryCore.Configuration
[LocalizedDisplayName("WEBFRONT_CONFIGURATION_CUSTOM_BRANDING")]
public string WebfrontCustomBranding { get; set; }
[ConfigurationIgnore]
public WebfrontConfiguration Webfront { get; set; } = new WebfrontConfiguration();
[LocalizedDisplayName("SETUP_ENABLE_MULTIOWN")]
public bool EnableMultipleOwners { get; set; }

View File

@ -0,0 +1,7 @@
namespace SharedLibraryCore.Configuration
{
public class WebfrontConfiguration
{
public string ScriptInjection { get; set; }
}
}