Skip to content

Commit

Permalink
Expose convex_origin and convex_site params on local backend binary (…
Browse files Browse the repository at this point in the history
…#32815)

I think folks who are legitimately self-hosting (vs. just running locally) will want to override these but have no way of doing so.

GitOrigin-RevId: 81ff6f3734bcb03322e5ef40bfc612cec82d9d5c
  • Loading branch information
sshader authored and Convex, Inc. committed Jan 6, 2025
1 parent 990873a commit 2cd2e71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/local_backend/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ pub struct LocalConfig {
site_proxy_port: u16,

/// Origin of the Convex server
#[clap(long, requires = "convex_site")]
convex_origin: Option<ConvexOrigin>,

/// Origin of the Convex HTTP Actions
#[clap(long, requires = "convex_origin")]
convex_site: Option<ConvexSite>,

#[clap(long)]
Expand Down

0 comments on commit 2cd2e71

Please sign in to comment.