Merge branch 'main' of https://git.aycode.com/Adam/FruitBankHybridApp
This commit is contained in:
commit
a4cbdc6a53
|
|
@ -8,6 +8,7 @@ public static class FruitBankConstClient
|
|||
public static string DefaultLocale = "en-US";
|
||||
|
||||
public static string BaseUrl = "https://localhost:59579"; //FrutiBank nop
|
||||
//public static string BaseUrl = "https://shop.fruitbank.hu"; //FrutiBank nop
|
||||
//public static string BaseUrl = "http://10.0.2.2:59579"; //FrutiBank (android) nop
|
||||
//public static string BaseUrl = "https://localhost:7144"; //HybridApp
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,11 @@ public partial class MainLayout : LayoutComponentBase
|
|||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
if (!LoggedInModel.IsLoggedIn) NavManager.NavigateTo("/Login");
|
||||
var loginUri = NavManager.ToAbsoluteUri("/Login").ToString();
|
||||
if (!LoggedInModel.IsLoggedIn && NavManager.Uri != loginUri)
|
||||
{
|
||||
NavManager.NavigateTo("/Login");
|
||||
}
|
||||
}
|
||||
|
||||
private void OnLogoutClick()
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
<div class="top-row ps-3 navbar navbar-dark">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="">FruitBank Measuring</a>
|
||||
<a class="navbar-brand" href="">FruitBank</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"version": 1,
|
||||
"isRoot": true,
|
||||
"tools": {
|
||||
"dotnet-ef": {
|
||||
"version": "9.0.10",
|
||||
"commands": [
|
||||
"dotnet-ef"
|
||||
],
|
||||
"rollForward": false
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue