Skip to content

Commit

Permalink
fix: check that assets folder ends with /
Browse files Browse the repository at this point in the history
  • Loading branch information
roedoejet committed Apr 2, 2024
1 parent 39ebd5f commit 2688bf0
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@ export class ReadAlongComponent {
looksLikeRelativePath(path) &&
!path.startsWith("blob")
) {
if (this.imageAssetsFolder && !this.imageAssetsFolder.endsWith("/")) {
this.imageAssetsFolder += "/";
}
return this.imageAssetsFolder + path;
}
return path;
Expand Down

0 comments on commit 2688bf0

Please sign in to comment.