From cf53bfcadae4201aa206e1609eb9c3d5e5b12e3c Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 25 Mar 2025 16:15:45 +0100 Subject: [PATCH 1/2] Correzione parentesi appsettings.json di produzione/staging/develop che sballano x indentazione errata --- MP.MON/appsettings.Production.json | 20 ++++++++++---------- MP.MON/appsettings.Staging.json | 7 ++++--- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/MP.MON/appsettings.Production.json b/MP.MON/appsettings.Production.json index 0b180422..945596d2 100644 --- a/MP.MON/appsettings.Production.json +++ b/MP.MON/appsettings.Production.json @@ -5,16 +5,16 @@ "Default": "Information", "Microsoft.AspNetCore": "Warning", "Microsoft.Hosting.Lifetime": "Information" - }, - "ConnectionStrings": { - "MP.Mon": "Server=localhost\\sqlexpress;Database=Jetco_MoonPro;User ID=steamware;Password=viadante16;integrated security=False;MultipleActiveResultSets=True;App=MP.Mon;", - "MP.Stats": "Server=localhost\\sqlexpress;Database=Jetco_MoonPro_STATS;User ID=steamware;Password=viadante16;integrated security=False;MultipleActiveResultSets=True;App=MP.STATS;", - "Redis": "localhost:6379,DefaultDatabase=1,connectTimeout=5000,syncTimeout=5000,asyncTimeout=5000,abortConnect=false,ssl=false" - }, - "ServerConf": { - "BaseAppPath": "/MP/MON/", - "maxAge": "2000", - "cssOverlayOff": "bg-dark text-light bg-opacity-50" } + }, + "ConnectionStrings": { + "MP.Mon": "Server=localhost\\sqlexpress;Database=Jetco_MoonPro;User ID=steamware;Password=viadante16;integrated security=False;MultipleActiveResultSets=True;App=MP.Mon;", + "MP.Stats": "Server=localhost\\sqlexpress;Database=Jetco_MoonPro_STATS;User ID=steamware;Password=viadante16;integrated security=False;MultipleActiveResultSets=True;App=MP.STATS;", + "Redis": "localhost:6379,DefaultDatabase=1,connectTimeout=5000,syncTimeout=5000,asyncTimeout=5000,abortConnect=false,ssl=false" + }, + "ServerConf": { + "BaseAppPath": "/MP/MON/", + "maxAge": "2000", + "cssOverlayOff": "bg-dark text-light bg-opacity-50" } } diff --git a/MP.MON/appsettings.Staging.json b/MP.MON/appsettings.Staging.json index 7a880c53..6e75c2cc 100644 --- a/MP.MON/appsettings.Staging.json +++ b/MP.MON/appsettings.Staging.json @@ -1,11 +1,12 @@ { + "DetailedErrors": true, "Logging": { "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning" - }, - "ServerConf": { - "BaseAppPath": "/MP/MON/" } + }, + "ServerConf": { + "BaseAppPath": "/MP/MON/" } } From d9b11f6f3f679547348bca48aada2c6d4ad7c3fd Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Thu, 27 Mar 2025 16:32:19 +0100 Subject: [PATCH 2/2] TAB3 Update fix immagini e appsettings --- MP-TAB3/Components/MachineBlock.razor.cs | 2 +- MP.MON/appsettings.Development.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MP-TAB3/Components/MachineBlock.razor.cs b/MP-TAB3/Components/MachineBlock.razor.cs index 391ad709..23645ff5 100644 --- a/MP-TAB3/Components/MachineBlock.razor.cs +++ b/MP-TAB3/Components/MachineBlock.razor.cs @@ -372,7 +372,7 @@ namespace MP_TAB3.Components } #endif string baseUrl = config.GetValue("SpecialConf:AppUrl") ?? (config.GetValue("OptConf:AppUrl") ?? ""); - imgBasePath = $"{baseUrl}/macchine/small"; + imgBasePath = $"{baseUrl}/macchine"; await loadDetails(); detailLoaded = true; } diff --git a/MP.MON/appsettings.Development.json b/MP.MON/appsettings.Development.json index 626d7120..6e75c2cc 100644 --- a/MP.MON/appsettings.Development.json +++ b/MP.MON/appsettings.Development.json @@ -1,12 +1,12 @@ { - "DetailedErrors": true, + "DetailedErrors": true, "Logging": { "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning" - }, - "ServerConf": { - "BaseAppPath": "/MP/MON/" } + }, + "ServerConf": { + "BaseAppPath": "/MP/MON/" } }