From 5ed9b38bb7fc1a84a1329d819d247f6b1297bad8 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 24 Oct 2025 12:04:39 +0200 Subject: [PATCH] web fix --- FruitBank.Common/FruitBankConstClient.cs | 12 +++++++----- FruitBankHybrid.Web/Program.cs | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/FruitBank.Common/FruitBankConstClient.cs b/FruitBank.Common/FruitBankConstClient.cs index 5e51fc9..e61c7b4 100644 --- a/FruitBank.Common/FruitBankConstClient.cs +++ b/FruitBank.Common/FruitBankConstClient.cs @@ -7,15 +7,17 @@ public static class FruitBankConstClient { public static string DefaultLocale = "en-US"; - public static string BaseUrl = "https://localhost:59579"; //FrutiBank nop - - #if RELEASE + //public static string BaseUrl = "https://localhost:59579"; //FrutiBank nop public static string BaseUrl = "https://shop.fruitbank.hu"; //FrutiBank nop - #endif + + +#if RELEASE + public static string BaseUrl = "https://shop.fruitbank.hu"; //FrutiBank nop +#endif //public static string BaseUrl = "http://10.0.2.2:59579"; //FrutiBank (android) nop //public static string BaseUrl = "https://localhost:7144"; //HybridApp - + public static string DefaultHubName = "fbHub"; public static string LoggerHubName = "loggerHub"; diff --git a/FruitBankHybrid.Web/Program.cs b/FruitBankHybrid.Web/Program.cs index 21db277..b5efc20 100644 --- a/FruitBankHybrid.Web/Program.cs +++ b/FruitBankHybrid.Web/Program.cs @@ -17,7 +17,7 @@ builder.Services.AddMvc(); builder.Services.AddSingleton(); builder.Services.AddScoped(); -builder.Services.AddScoped(); +//builder.Services.AddScoped(); builder.Services.AddScoped(); //builder.Services.AddSingleton();