mirror of
https://github.com/bitwarden/server.git
synced 2025-07-14 14:17:35 -05:00
configurable cache size limit
This commit is contained in:
@ -5,7 +5,6 @@ using Bit.Icons.Models;
|
||||
using Bit.Icons.Services;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.Extensions.Caching.Memory;
|
||||
using Microsoft.Extensions.Options;
|
||||
|
||||
namespace Bit.Icons.Controllers
|
||||
{
|
||||
@ -20,11 +19,11 @@ namespace Bit.Icons.Controllers
|
||||
public IconsController(
|
||||
IMemoryCache memoryCache,
|
||||
IDomainMappingService domainMappingService,
|
||||
IOptions<IconsSettings> iconsSettingsOptions)
|
||||
IconsSettings iconsSettings)
|
||||
{
|
||||
_memoryCache = memoryCache;
|
||||
_domainMappingService = domainMappingService;
|
||||
_iconsSettings = iconsSettingsOptions.Value;
|
||||
_iconsSettings = iconsSettings;
|
||||
}
|
||||
|
||||
[HttpGet("")]
|
||||
|
Reference in New Issue
Block a user