don't check canonicalized paths while sandboxed

Because the configured paths won't exist in the sandbox, so
canonicalization would fail.
This commit is contained in:
Charles Hall 2025-03-21 15:22:14 -07:00
parent 50583bc93e
commit a04951541a
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
5 changed files with 30 additions and 19 deletions

View file

@ -70,7 +70,7 @@ use crate::{
pub(crate) async fn run(args: ServeArgs) -> Result<(), error::ServeCommand> {
use error::ServeCommand as Error;
let config = config::load(args.config.config.as_ref()).await?;
let config = config::load(args.config.config.as_ref(), false).await?;
rustls::crypto::ring::default_provider()
.install_default()