Repository navigation
docs(self-hosting): document API_ONLY_SERVICE_MODE - #5033
mintlify[bot] wants to merge 2 commits into
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
|
@claude address ci review comments please |
|
Claude finished @ericallam's task in 58s —— View job Addressing CI Review Comments
Done. Updated the
This addresses Devin's review comment about the 404 behavior being more nuanced than the original wording implied. |
Clarify that 404 is returned for non-GET/HEAD methods OR when APP_ORIGIN is not set, not just for 'other non-API requests'. Co-authored-by: Eric Allam <534+ericallam@users.noreply.github.com>
Summary
Adds
API_ONLY_SERVICE_MODEto the self-hosting webapp env var table, next to the origin settings.Self-hosters can now run webapp instances that only serve the SDK, CLI and worker APIs.
enforceredirects dashboard requests toAPP_ORIGINand returns 404 for other non-API requests.reportonly logs them.Based on feat(webapp): API_ONLY_SERVICE_MODE to keep the dashboard off API-only services, which added the setting.
Docs only. Mark ready for review to merge.