Merge branch 'Release/UpdateBaseUrlTab01'
This commit is contained in:
@@ -59,7 +59,7 @@ namespace MP_TAB3.Components
|
||||
{
|
||||
await FixQtyUdc();
|
||||
var currUrl = NavMan.Uri;
|
||||
string baseUrl = config.GetValue<string>("ServerConf:BaseUrl") ?? (config.GetValue<string>("OptConf:BaseUrl") ?? "");
|
||||
string baseUrl = config.GetValue<string>("ServerConf:BaseUrlTab") ?? (config.GetValue<string>("OptConf:BaseUrlTab") ?? "");
|
||||
string UrlTabJumpMag = SMServ.GetConf("UrlTabJumpMag");
|
||||
if (string.IsNullOrEmpty(UrlTabJumpMag))
|
||||
{
|
||||
|
||||
+1
-1
@@ -49,7 +49,7 @@ builder.Services.AddHttpContextAccessor();
|
||||
var app = builder.Build();
|
||||
|
||||
// aggiunt base URL x routing corretto
|
||||
var pathBase= configuration.GetValue<string>("ServerConf:BaseUrl") ?? (configuration.GetValue<string>("OptConf:BaseUrl") ?? "");
|
||||
var pathBase= configuration.GetValue<string>("ServerConf:BaseUrlTab") ?? (configuration.GetValue<string>("OptConf:BaseUrlTab") ?? "");
|
||||
app.UsePathBase(pathBase);
|
||||
|
||||
// Configure the HTTP request pipeline.
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
"ServerConf": {
|
||||
"BaseAddr": "https://iis04.egalware.com/MP/TAB3/",
|
||||
"BasePathDisegni": "C:\\Steamware\\disegni",
|
||||
"BaseUrl": "/MP/TAB3",
|
||||
"BaseUrlTab": "/MP/TAB3",
|
||||
"ImgBasePath": "https://iis04.egalware.com/MP/images/macchine/small/"
|
||||
},
|
||||
"AlarmDest": "samuele.locatelli@egalware.com, ceo@steamware.net"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
"ServerConf": {
|
||||
"BaseAddr": "https://localhost:7295/MP/TAB3/",
|
||||
"BasePathDisegni": "\\\\iis01\\W$\\Files\\Disegni",
|
||||
"BaseUrl": "/MP/TAB3",
|
||||
"BaseUrlTab": "/MP/TAB3",
|
||||
"ImgBasePath": "https://iis01.egalware.com/MP/images/macchine/small/"
|
||||
},
|
||||
"AlarmDest": "samuele.locatelli@egalware.com, ceo@steamware.net",
|
||||
|
||||
@@ -18,15 +18,6 @@ namespace MP.Data.Services
|
||||
dataPipe = new MessagePipe(redisConn, Constants.TAB_ACT_MSE_DATA_KEY, false);
|
||||
blinkPipe = new MessagePipe(redisConn, Constants.TAB_ACT_BLINK_KEY, false);
|
||||
|
||||
//if (!string.IsNullOrEmpty(configuration.GetValue<string>("OptConf:msRefresh")))
|
||||
//{
|
||||
// fastRefreshMs = configuration.GetValue<int>("OptConf:msRefresh");
|
||||
// if (fastRefreshMs <= 0)
|
||||
// {
|
||||
// fastRefreshMs = 1000;
|
||||
// }
|
||||
//}
|
||||
|
||||
// avvio timers...
|
||||
startTimers();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user