Update image in test...
This commit is contained in:
@@ -99,18 +99,6 @@ namespace Lux.API.Controllers
|
||||
// ...se ricevo percorso --> leggo jwd/svg cablato
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
{
|
||||
// se contiene ".svg" lo levo...
|
||||
if (id.EndsWith(".svg"))
|
||||
{
|
||||
mimeType = "image/svg+xml";
|
||||
//id = id.Replace(".svg", "");
|
||||
}
|
||||
else if (id.EndsWith(".png"))
|
||||
{
|
||||
mimeType = "image/png";
|
||||
//id.Replace(".png", "");
|
||||
}
|
||||
|
||||
// se contiene i caratteri casuali x forzare reload --> li levo
|
||||
if (id.Contains("-"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user