mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-28 16:08:38 +00:00
Cache resources
This commit is contained in:
parent
68d7433875
commit
7ca9e5ae61
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ namespace LBPUnion.ProjectLighthouse.Controllers
|
|||
return this.Ok(LbpSerializer.StringElement("resources", resources));
|
||||
}
|
||||
|
||||
[ResponseCache(Duration = 86400)]
|
||||
[HttpGet("/gameAssets/{hash}")]
|
||||
[HttpGet("r/{hash}")]
|
||||
public IActionResult GetResource(string hash)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue