1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-13 00:28:10 -05:00

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 bbab849224
commit 720d253fbb
4 changed files with 12 additions and 0 deletions

View File

@ -145,6 +145,7 @@ namespace SharedLibraryCore
ViewBag.EnableColorCodes = AppConfig.EnableColorCodes;
ViewBag.EnablePrivilegedUserPrivacy = AppConfig.EnablePrivilegedUserPrivacy;
ViewBag.Configuration = AppConfig;
ViewBag.ScriptInjection = AppConfig.Webfront?.ScriptInjection;
base.OnActionExecuting(context);
}