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(cloudflare): base strip logic #6550

Merged
merged 2 commits into from
Mar 16, 2023
Merged

Conversation

RichiCoder1
Copy link
Contributor

@RichiCoder1 RichiCoder1 commented Mar 15, 2023

Changes

Fixes the strip logic for _config.base. Apparently the negative indexing is a feature of the deprecated substr, not substring.

Apologies for not catching this the first time around.

Testing

Manually tested via patch-package locally. Verified behavior is correct now.

Docs

N/A

@changeset-bot
Copy link

changeset-bot bot commented Mar 15, 2023

🦋 Changeset detected

Latest commit: 459c7d7

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

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

@github-actions github-actions bot added the pkg: integration Related to any renderer integration (scope) label Mar 15, 2023
RichiCoder1 and others added 2 commits March 15, 2023 10:54
Fixes the strip logic for _config.base. Apparently the negative indexing is a feature of the deprecated substr, not substring.
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
@bluwy bluwy merged commit 2c829fd into withastro:main Mar 16, 2023
@bluwy
Copy link
Member

bluwy commented Mar 16, 2023

Thanks for following up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: integration Related to any renderer integration (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants