fuckkkkkkkk

This commit is contained in:
Adam 2026-06-06 17:18:48 +02:00
parent 0a1287ce67
commit bad80dd660
9 changed files with 73 additions and 44 deletions

View File

@ -7,9 +7,9 @@ public static class FruitBankConstClient
{ {
public static string DefaultLocale = "en-US"; public static string DefaultLocale = "en-US";
public static string BaseUrl = "https://localhost:59579"; //FrutiBank nop //public static string BaseUrl = "https://localhost:59579"; //FrutiBank nop
//public static string BaseUrl = "https://localhost:44372"; //FrutiBank nop //public static string BaseUrl = "https://localhost:44372"; //FrutiBank nop
//public static string BaseUrl = "https://shop.fruitbank.hu"; //FrutiBank nop public static string BaseUrl = "https://shop.fruitbank.hu"; //FrutiBank nop
//public static string BaseUrl = "https://fruitbank.mangoweb.hu"; //FrutiBank nop test //public static string BaseUrl = "https://fruitbank.mangoweb.hu"; //FrutiBank nop test
#if RELEASE #if RELEASE
//public static string BaseUrl = "https://shop.fruitbank.hu"; //FrutiBank nop //public static string BaseUrl = "https://shop.fruitbank.hu"; //FrutiBank nop

View File

@ -186,8 +186,15 @@ namespace FruitBankHybrid.Shared.Services.SignalRs
#region Product #region Product
public Task<List<ProductDtoTableItem>?> GetProductDtoTableItems() public async Task<List<ProductDtoTableItem>?> GetProductDtoTableItems()
=> GetAllAsync<List<ProductDtoTableItem>>(SignalRTags.GetProductDtos); //=> GetAllAsync<List<ProductDtoTableItem>>(SignalRTags.GetProductDtos);
{
var dtos = await GetProductDtos();
if (dtos == null) return null;
var bytes = SignalRSerializationHelper.SerializeToBinary(dtos);
return SignalRSerializationHelper.DeserializeFromBinary<List<ProductDtoTableItem>>(bytes);
}
public Task<List<ProductDto>?> GetProductDtos() public Task<List<ProductDto>?> GetProductDtos()
=> GetAllAsync<List<ProductDto>>(SignalRTags.GetProductDtos); => GetAllAsync<List<ProductDto>>(SignalRTags.GetProductDtos);

View File

@ -8,8 +8,10 @@
"AyCode": { "AyCode": {
"ProjectId": "aad53443-2ee2-4650-8a99-97e907265e4e", "ProjectId": "aad53443-2ee2-4650-8a99-97e907265e4e",
"Urls": { "Urls": {
"BaseUrl": "https://localhost:59579", //"BaseUrl": "https://localhost:59579",
"ApiBaseUrl": "https://localhost:59579" //"ApiBaseUrl": "https://localhost:59579"
"BaseUrl": "https://shop.fruitbank.hu",
"ApiBaseUrl": "https://shop.fruitbank.hu"
}, },
"Logger": { "Logger": {
"AppType": "Server", "AppType": "Server",
@ -24,7 +26,7 @@
}, },
"AcHubConnection": { "AcHubConnection": {
"Url": "https://localhost:59579/fbHub", "Url": "https://shop.fruitbank.hu/fbHub",
"TransportMaxBufferSize": 30000000, "TransportMaxBufferSize": 30000000,
"ApplicationMaxBufferSize": 30000000, "ApplicationMaxBufferSize": 30000000,
"CloseTimeout": "00:00:10", "CloseTimeout": "00:00:10",

View File

@ -10,6 +10,13 @@
<RunAOTCompilation>false</RunAOTCompilation> <RunAOTCompilation>false</RunAOTCompilation>
<WasmStripILAfterAOT>true</WasmStripILAfterAOT> <WasmStripILAfterAOT>true</WasmStripILAfterAOT>
<OverrideHtmlAssetPlaceholders>true</OverrideHtmlAssetPlaceholders> <OverrideHtmlAssetPlaceholders>true</OverrideHtmlAssetPlaceholders>
<BlazorEnableCompression>false</BlazorEnableCompression>
<BlazorCacheBootResources>false</BlazorCacheBootResources>
<OptimizationPreference>Speed</OptimizationPreference>
<DevExpressBrotliCompression>false</DevExpressBrotliCompression>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View File

@ -10,6 +10,8 @@
"Urls": { "Urls": {
"BaseUrl": "https://localhost:59579", "BaseUrl": "https://localhost:59579",
"ApiBaseUrl": "https://localhost:59579" "ApiBaseUrl": "https://localhost:59579"
//"BaseUrl": "https://shop.fruitbank.hu",
//"ApiBaseUrl": "https://shop.fruitbank.hu"
}, },
"Logger": { "Logger": {
"AppType": "Server", "AppType": "Server",
@ -25,6 +27,7 @@
}, },
"AcHubConnection": { "AcHubConnection": {
"Url": "https://localhost:59579/fbHub", "Url": "https://localhost:59579/fbHub",
//"Url": "https://shop.fruitbank.hu/fbHub",
"TransportMaxBufferSize": 30000000, "TransportMaxBufferSize": 30000000,
"ApplicationMaxBufferSize": 30000000, "ApplicationMaxBufferSize": 30000000,
"CloseTimeout": "00:00:10", "CloseTimeout": "00:00:10",

View File

@ -33,7 +33,7 @@
pdfjsLib.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.worker.min.js'; pdfjsLib.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.worker.min.js';
</script> </script>
<script src="_content/FruitBankHybrid.Shared/js/pdfViewer.js"></script> <script src="_content/FruitBankHybrid.Shared/js/pdfViewer.js"></script>
<script src="@Assets["_framework/blazor.web.js"]"></script> <script src="@Assets["/_framework/blazor.web.js"]"></script>
</body> </body>
</html> </html>

View File

@ -6,9 +6,11 @@
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<!--<PublishTrimmed>true</PublishTrimmed>--> <!--<PublishTrimmed>true</PublishTrimmed>-->
<RunAOTCompilation>true</RunAOTCompilation> <RunAOTCompilation>false</RunAOTCompilation>
<WasmStripILAfterAOT>true</WasmStripILAfterAOT> <WasmStripILAfterAOT>true</WasmStripILAfterAOT>
<OverrideHtmlAssetPlaceholders>true</OverrideHtmlAssetPlaceholders> <OverrideHtmlAssetPlaceholders>true</OverrideHtmlAssetPlaceholders>
<BlazorEnableCompression>false</BlazorEnableCompression>
<DevExpressBrotliCompression>false</DevExpressBrotliCompression>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View File

@ -10,6 +10,8 @@
"Urls": { "Urls": {
"BaseUrl": "https://localhost:59579", "BaseUrl": "https://localhost:59579",
"ApiBaseUrl": "https://localhost:59579" "ApiBaseUrl": "https://localhost:59579"
//"BaseUrl": "https://shop.fruitbank.hu",
//"ApiBaseUrl": "https://shop.fruitbank.hu"
}, },
"Logger": { "Logger": {
"AppType": "Server", "AppType": "Server",
@ -25,6 +27,7 @@
}, },
"AcHubConnection": { "AcHubConnection": {
"Url": "https://localhost:59579/fbHub", "Url": "https://localhost:59579/fbHub",
//"Url": "https://shop.fruitbank.hu/fbHub",
"TransportMaxBufferSize": 30000000, "TransportMaxBufferSize": 30000000,
"ApplicationMaxBufferSize": 30000000, "ApplicationMaxBufferSize": 30000000,
"CloseTimeout": "00:00:10", "CloseTimeout": "00:00:10",

View File

@ -76,7 +76,12 @@
<AndroidUseAapt2>True</AndroidUseAapt2> <AndroidUseAapt2>True</AndroidUseAapt2>
<AndroidPackageFormat>apk</AndroidPackageFormat> <AndroidPackageFormat>apk</AndroidPackageFormat>
<EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk> <EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk>
<AndroidKeyStore>True</AndroidKeyStore> <DebugSymbols>True</DebugSymbols>
<AndroidKeyStore>true</AndroidKeyStore>
<AndroidSigningKeyStore>fruitbank.keystore</AndroidSigningKeyStore>
<AndroidSigningKeyAlias>fruitbank</AndroidSigningKeyAlias>
<AndroidSigningKeyPass>Asdasd123456</AndroidSigningKeyPass>
<AndroidSigningStorePass>Asdasd123456</AndroidSigningStorePass>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>