mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-30 16:58: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));
|
return this.Ok(LbpSerializer.StringElement("resources", resources));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[ResponseCache(Duration = 86400)]
|
||||||
[HttpGet("/gameAssets/{hash}")]
|
[HttpGet("/gameAssets/{hash}")]
|
||||||
[HttpGet("r/{hash}")]
|
[HttpGet("r/{hash}")]
|
||||||
public IActionResult GetResource(string hash)
|
public IActionResult GetResource(string hash)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue