Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: conditional base url subpath for flexible deployments #11

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

bucko13
Copy link
Contributor

@bucko13 bucko13 commented Feb 15, 2024

When trying to deploy caravan coordinator in environments other than github pages, the subpath causes some challenges. By making this conditional, caravan can be deployed without custom configuration in somewhere like vercel while still supporting github pages deployements.

Now normal builds will simply be accessible from http://localhost:5173/# (no /caravan necessary). Same change for the docker deployment.

@bucko13 bucko13 requested a review from nk1tz February 15, 2024 05:03
Copy link

changeset-bot bot commented Feb 15, 2024

🦋 Changeset detected

Latest commit: fa74b6c

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

This PR includes changesets to release 1 package
Name Type
@caravan/coordinator 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

@nk1tz nk1tz merged commit 328bc3e into caravan-bitcoin:main Feb 15, 2024
1 check passed
@github-actions github-actions bot mentioned this pull request Feb 15, 2024
@bucko13 bucko13 deleted the deployment-environments branch February 27, 2024 22:44
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