Skip to content

fix: remote-assets url includes full publicPath now#382

Merged
RafikiTiki merged 2 commits into
mainfrom
fix/remote-assets-fix
Jun 20, 2023
Merged

fix: remote-assets url includes full publicPath now#382
RafikiTiki merged 2 commits into
mainfrom
fix/remote-assets-fix

Conversation

@jbroma
Copy link
Copy Markdown
Contributor

@jbroma jbroma commented Jun 20, 2023

Summary

Fixed an issue for remote-assets where only the basename from publicPath was included.

Example of the problem:
if publicPath was set to

http://localhost:9999/remote-assets

then final URL would look like this:

# remote-assets is removed from the path
http://localhost:9999/assets/image.png

instead of

http://localhost:9999/remote-assets/assets/image.png

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jun 20, 2023

🦋 Changeset detected

Latest commit: 90ac903

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@callstack/repack Patch
testerapp Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Copy Markdown
Collaborator

@RafikiTiki RafikiTiki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@RafikiTiki RafikiTiki merged commit c1a5a2b into main Jun 20, 2023
@RafikiTiki RafikiTiki deleted the fix/remote-assets-fix branch June 20, 2023 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants