From e5db20cf89e5db6ebe486f2fbfb8f308cff76261 Mon Sep 17 00:00:00 2001 From: Martin Zikmund Date: Wed, 2 Oct 2024 09:08:43 +0200 Subject: [PATCH] fix: Avoid duplicate slash in AssetsPathBuilder --- src/Uno.UWP/Storage/Helpers/AssetsPathBuilder.wasm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Uno.UWP/Storage/Helpers/AssetsPathBuilder.wasm.cs b/src/Uno.UWP/Storage/Helpers/AssetsPathBuilder.wasm.cs index 25c1994d3888..f7b74da9c3e7 100644 --- a/src/Uno.UWP/Storage/Helpers/AssetsPathBuilder.wasm.cs +++ b/src/Uno.UWP/Storage/Helpers/AssetsPathBuilder.wasm.cs @@ -23,7 +23,7 @@ internal static class AssetsPathBuilder => !string.IsNullOrEmpty(UNO_BOOTSTRAP_APP_BASE) // Concatenates the app's base path (used to support deep-linking), with the generated app based content folder name. // See https://github.com/unoplatform/Uno.Wasm.Bootstrap#configuration-environment-variables for more details. - ? $"{UNO_BOOTSTRAP_WEBAPP_BASE_PATH}{UNO_BOOTSTRAP_APP_BASE}/{contentRelativePath?.TrimStart('/')}" + ? $"{UNO_BOOTSTRAP_WEBAPP_BASE_PATH}{UNO_BOOTSTRAP_APP_BASE.TrimEnd('/')}/{contentRelativePath?.TrimStart('/')}" : contentRelativePath; } }