FormidableLabs / react-swipeable

React swipe event handler hook
https://commerce.nearform.com/open-source/react-swipeable
MIT License
1.99k stars 146 forks source link

update baseUrl for docusaurus site #348

Closed Burnett2k closed 5 months ago

Burnett2k commented 5 months ago

Description

In order for the site to be rendered correctly in production, the baseUrl needs to be set so that commerce.nearform.com/open-source/react-swipeable triggers the vercel app to open. Setting the baseUrl should fix this. It worked fine in preview environments where baseUrl could be /, but for nearform commerce it is hosted at a specific path /open-source/react-swipeable which needs to be set as the baseUrl.

Once this is merged, the PR preview for the formidable.com site should load correctly. https://formidable-com-next-git-feature-oss-rs-formidable-labs.vercel.app/open-source/react-swipeable

image

Type of Change

How Has This Been Tested?

Checklist: (Feel free to delete this section upon completion)

changeset-bot[bot] commented 5 months ago

⚠️ No Changeset found

Latest commit: 02c05e3f2455d020d282aef23722f8dac2b7c62c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-swipeable ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 1, 2024 4:39pm
github-actions[bot] commented 5 months ago

size-limit report 📦

Path Size
lib/index.js 1.63 KB (0%)
dist/react-swipeable.js 1.72 KB (0%)
es/index.js 1.72 KB (0%)