From 5613f75742b8ae8907587c7af90af48c8229ed5d Mon Sep 17 00:00:00 2001 From: aorzelskiGH Date: Thu, 13 Jun 2024 11:17:45 +0200 Subject: [PATCH] Fix basyx attachements in PCF --- src/AasxServerBlazor/Pages/Pcf2.razor | 2 +- src/AasxServerBlazor/Properties/launchSettings.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AasxServerBlazor/Pages/Pcf2.razor b/src/AasxServerBlazor/Pages/Pcf2.razor index bc7029f92..1175bc59e 100644 --- a/src/AasxServerBlazor/Pages/Pcf2.razor +++ b/src/AasxServerBlazor/Pages/Pcf2.razor @@ -658,7 +658,7 @@ if (f.Value != "") { string[] split = f.Value.Split(new Char[] { '/' }); - if (split.Length == 2 || (split.Length > 1 && split[1].ToLower() == "aasx")) + if (split.Length == 2 || (split.Length > 1 && (split[1].ToLower() == "aasx" || split[1].ToLower() == "tmp"))) { split = f.Value.Split(new Char[] { '.' }); switch (split.Last().ToLower()) diff --git a/src/AasxServerBlazor/Properties/launchSettings.json b/src/AasxServerBlazor/Properties/launchSettings.json index a6384874b..20c732237 100644 --- a/src/AasxServerBlazor/Properties/launchSettings.json +++ b/src/AasxServerBlazor/Properties/launchSettings.json @@ -10,7 +10,7 @@ }, "AasxServerBlazor": { "commandName": "Project", - "commandLineArgs": "--no-security --secret-string-api 1234 --aasx-in-memory 1000 --data-path \"\\\\wsl.localhost\\Ubuntu\\home\\oze\\plugfest\\aasxs-repository\" --edit --external-blazor http://localhost:5001", + "commandLineArgs": "--no-security --secret-string-api 1234 --aasx-in-memory 1000 --data-path \"\\\\wsl.localhost\\Ubuntu\\home\\oze\\plugfest\\aasxs-view\" --edit --external-blazor http://localhost:5001", "launchBrowser": true, "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development",