Skip to content

Commit

Permalink
fix: Avoid duplicate slash in AssetsPathBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Oct 16, 2024
1 parent 7d4ab8c commit e5db20c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Uno.UWP/Storage/Helpers/AssetsPathBuilder.wasm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit e5db20c

Please sign in to comment.