Correzione baseaddr x prod (da vedere wasm con hostingenv...)
This commit is contained in:
@@ -67,6 +67,9 @@
|
||||
[Parameter]
|
||||
public EventCallback<string> E_SearchUpd { get; set; }
|
||||
|
||||
[Inject]
|
||||
protected IConfiguration config { get; set; } = null!;
|
||||
|
||||
|
||||
[Parameter]
|
||||
public int MatrOpr { get; set; } = 102;
|
||||
@@ -75,10 +78,11 @@
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
BaseAddr = config.GetValue<string>("OptConf:BaseAddr");
|
||||
await ReloadAllData();
|
||||
}
|
||||
|
||||
private string BaseAddr = "https://localhost:7057/MP/TAB2/";
|
||||
private string BaseAddr = "";
|
||||
|
||||
protected async Task ReloadAllData()
|
||||
{
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"OptConf": {
|
||||
"BaseAddr": "https://iis01.egalware.com/MP/TAB2/",
|
||||
"BaseUrl": "/MP/TAB2",
|
||||
"ImgBasePath": "C:\\Steamware\\macchine"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user