mirror of
https://github.com/bitwarden/server.git
synced 2025-07-14 06:07:36 -05:00
no response cache. manual CacheControl middleware
This commit is contained in:
@ -28,7 +28,6 @@ namespace Bit.Icons.Controllers
|
||||
}
|
||||
|
||||
[HttpGet("{hostname}/icon.png")]
|
||||
[ResponseCache(Duration = 604800 /*7 days*/)]
|
||||
public async Task<IActionResult> Get(string hostname)
|
||||
{
|
||||
if(string.IsNullOrWhiteSpace(hostname) || !hostname.Contains("."))
|
||||
|
Reference in New Issue
Block a user