-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Sometimes users may want to proxy Oxen Backend via their own domain service without making changes to the Oxen Client. It would be nice to allow a prefix for host path.
For example, one may one to proxy any request made with /oxen path prefix to oxen server (with either rust or python client) like so:
# via python client
# repo = oxen.RemoteRepo(host="localhost:3000/oxen", repo_id="test/repo-1", scheme="http", revision="main")
GET /oxen/api/repos/:repo_id -> GET /api/repos/:repo_id
without possibly having to interfere with their own existing API path. Currently, this is not allowed and any requests made like above will map like this:
GET /oxen/api/repos/:repo_id -> GET /api/repos/oxen/:repo_id
Metadata
Metadata
Assignees
Labels
No labels