fix
This commit is contained in:
@@ -7,6 +7,7 @@ let
|
||||
priority = toString (containerCfg.extra.priority or 2147482647);
|
||||
logoSvgFileName = builtins.baseNameOf (toString mediaCfg.logo.svg);
|
||||
logoSvgMount = "/assets/${logoSvgFileName}";
|
||||
borderRadius = toString config.colorScheme.palette.border-radius;
|
||||
hostMappings = lib.mapAttrs' (mapping: profile:
|
||||
lib.nameValuePair
|
||||
(if lib.hasInfix "." mapping then mapping else "${mapping}.${serverCfg.domain}")
|
||||
@@ -21,7 +22,7 @@ let
|
||||
+ "|mstile-[0-9]+x[0-9]+\\.png)$";
|
||||
configFile = pkgs.writeText "favicon-config.json" (builtins.toJSON {
|
||||
inherit cacheControl;
|
||||
borderRadius = config.colorScheme.palette.border-radius;
|
||||
borderRadius = borderRadius;
|
||||
mappings = hostMappings;
|
||||
default = containerCfg.extra.default or null;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user