update conf path image cache
This commit is contained in:
@@ -73,19 +73,19 @@ namespace Lux.API.Controllers
|
||||
|
||||
/// <summary>
|
||||
/// Chiamata GET: restituisce file SVG/PNG (da file o cache REDIS), eliminando nome rand (x force refresh)
|
||||
/// GET: api/image/file/OFF0000001.001.svg?env=WINDOW
|
||||
/// GET: api/image/OFF0000001.001.svg?env=WINDOW
|
||||
/// GET: api/image/cache/OFF0000001.001.svg?env=WINDOW
|
||||
/// GET: api/image/file/OFF0000002.001.png?env=WINDOW
|
||||
/// GET: api/image/OFF0000002.001.png?env=WINDOW
|
||||
/// GET: api/image/cache/OFF0000002.001.png?env=WINDOW
|
||||
/// GET: api/image/file/OFF0000002.002-123456.png?env=WINDOW
|
||||
/// GET: api/image/OFF0000002.002-123456.png?env=WINDOW
|
||||
/// GET: api/image/cache/OFF0000002.002-123456.png?env=WINDOW
|
||||
/// </summary>
|
||||
/// <param name="id">uid oggetto</param>
|
||||
/// <param name="env">environment oggetto</param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("{id}")]
|
||||
[HttpGet("cache/{id}")]
|
||||
//[HttpGet("file/{id}")]
|
||||
//[HttpGet("cache/{id}")]
|
||||
public async Task<IActionResult> cacheFile(string id, EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS env = EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW)
|
||||
{
|
||||
Stopwatch sw = new Stopwatch();
|
||||
|
||||
Reference in New Issue
Block a user