Skip to main content

start_server

Function start_server 

Source
pub async fn start_server(
    db_url: &str,
    port: u16,
    blob_dir: PathBuf,
) -> Result<()>
Expand description

Start the server with the production-secure auth default (AuthConfig::from_env): unauthenticated requests are rejected unless TRACE_WEFT_API_KEYS/TRACE_WEFT_DEV_MODE are configured. Runs until the process ends.