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

Prepare @gitbook/proxy to support serving under sub-directory #2641

Merged
merged 9 commits into from
Dec 18, 2024
Merged

Conversation

SamyPesse
Copy link
Member

@SamyPesse SamyPesse commented Dec 17, 2024

This PR implements a package @gitbook/proxy to easily build a proxy to serve a site under a sub-directory on a marketing website.

It also updates the middleware to support this.

Copy link

changeset-bot bot commented Dec 17, 2024

🦋 Changeset detected

Latest commit: acc3741

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

This PR includes changesets to release 1 package
Name Type
@gitbook/proxy Minor

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
Contributor

github-actions bot commented Dec 17, 2024

GitBook Preview
Latest commit: https://e9211595.gitbook-open.pages.dev
PR: https://pr2641.gitbook-open.pages.dev

Copy link

argos-ci bot commented Dec 17, 2024

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) 👍 Changes approved 23 changed Dec 18, 2024, 12:01 AM

@SamyPesse SamyPesse marked this pull request as ready for review December 17, 2024 23:50
packages/gitbook/src/middleware.ts Show resolved Hide resolved
packages/gitbook/src/middleware.ts Show resolved Hide resolved
@SamyPesse SamyPesse merged commit 53b9f10 into main Dec 18, 2024
9 checks passed
@SamyPesse SamyPesse deleted the proxy branch December 18, 2024 09:05
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