-
Notifications
You must be signed in to change notification settings - Fork 980
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
Add root-path to api-server #1691
Add root-path to api-server #1691
Conversation
Bringing jeliasson/redwoodjs up to speed
Updating branch from redwoodjs/redwood/main
Bringing in latest canary
Bringing in PR repo check
Bringing up to speed
Bringing in main
Bringing fork up to speed
Merge pull request #10 from redwoodjs/main
Hey @jeliasson, is this ready for review? |
@peterp Sure, thanks! |
Bringing up to speed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this! Such a nice and quick PR to review!
ty @Tobbe Co-authored-by: Tobbe Lundberg <tobbe@tlundberg.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is very very ready to go, I think just passing the rootPath value to http and then we can ship it!
@peterp So two things; 1. Changing back to less-pretty way of handling root path constructionWhile @Tobbe's suggestion was much more elegant, it did not handle 2. Using
|
Release Timing Check-in: we need to bump this to the next release cycle. Please continue with the review. But hold off on merge until post v0.28 release. |
@jeliasson For documentation, can you provide an example about how to use this? I'm assuming it's something along the lines of #1693 |
@thedavidprice Yes. It's implemented as #1693 describes. I can document it on the website, but I'm not entirely sure where this would go. Can you point me in the right direction? 🙏 |
@jeliasson roger that! Actually, this is important to work Danny is doing here: #2217 Could you take a look at that PR and make sure the option is correctly included. Then we'll document it all in the CLI Docs. Thanks! |
@thedavidprice Defo. I'll give @dac09 a chat and we get that in there. |
Seeks to implement
root-path
to@redwoodjs/api-server
Related issue
#1693 Add root-path to api-server