Skip to content

Commit

Permalink
fix: load books in Bloom Reader
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-polk committed Jul 26, 2024
1 parent d74dd44 commit 19a747b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/bloom-player-core.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -479,11 +479,6 @@ export class BloomPlayerCore extends React.Component<IProps, IState> {
Math.max(slashIndex, encodedSlashIndex)
)
: this.sourceUrl;
if (!this.urlPrefix.startsWith("http")) {
// Only in storybook with local books?
this.urlPrefix =
window.location.origin + "/" + this.urlPrefix;
}
this.music.urlPrefix = this.urlPrefix;
setPlayerUrlPrefix(this.music.urlPrefix);
// Note: this does not currently seem to work when using the storybook fileserver.
Expand Down

0 comments on commit 19a747b

Please sign in to comment.