Merge branch 'release/AddForceResetPage02'

This commit is contained in:
Samuele Locatelli
2024-08-19 18:32:47 +02:00
6 changed files with 13 additions and 6 deletions
+1 -1
View File
@@ -1 +1 @@
0.8.
0.9.
+1 -1
View File
@@ -1 +1 @@
0.8.2307.2416
0.9.2408.1918
+1 -1
View File
@@ -24,7 +24,7 @@ namespace SMGen.Pages
await SMGDService.ExecFlushRedisPattern(currKey);
await Task.Delay(500);
isResetting = false;
NavMan.NavigateTo("/", true);
NavMan.NavigateTo("", true);
}
private bool isResetting = false;
+4
View File
@@ -33,6 +33,10 @@ builder.Services.AddSingleton<SMGDataService>();
builder.Services.AddSingleton<IConnectionMultiplexer>(redisMultiplexer);
var app = builder.Build();
// aggiunt base URL x routing corretto
var pathBase = configuration.GetValue<string>("ServerConf:BaseUrl") ?? (configuration.GetValue<string>("OptConf:BaseUrl") ?? "");
app.UsePathBase(pathBase);
// Configure the HTTP request pipeline.
if (!app.Environment.IsDevelopment())
{
+5 -3
View File
@@ -1,11 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Description>State Machine Generator</Description>
<Version>0.8.2307.2416</Version>
<Version>0.9.2408.1918</Version>
</PropertyGroup>
<ItemGroup>
@@ -67,5 +67,7 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="powershell.exe -ExecutionPolicy Unrestricted -NoProfile -NonInteractive -File $(ProjectDir)\post-build.ps1 -ProjectDir $(ProjectDir) -ProjectPath $(ProjectPath)" />
</Target>
</Project>
+1
View File
@@ -10,6 +10,7 @@
"SMGen.DB": "Server=SQL2016DEV;Database=MoonPro; User ID=sa;Password=keyhammer16; integrated security=False; MultipleActiveResultSets=True; App=SMGen.UI;"
},
"ServerConf": {
"BaseUrl": "/MP/SMGen",
"ProcCsvRootPath": "Temp\\Rules\\PROCESSED",
"BitCsvPath": "BIT",
"StatiCsvPath": "STATI",