don't
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(knot): use 'text/plain' for git operation errors

Signed-off-by: tjh <did:plc:65gha4t3avpfpzmvpbwovss7>

+1 -1
+1 -1
crates/knot/src/public/git.rs
··· 57 57 let Self(status, error) = self; 58 58 Response::builder() 59 59 .status(status) 60 - .header(CONTENT_TYPE, "text/html; charset=utf-8") 60 + .header(CONTENT_TYPE, "text/plain; charset=utf-8") 61 61 .body(Body::from(error)) 62 62 .expect("Failed to build body") 63 63 }