···3737 "Somehow tried to serve a did:web document when no did:web document was available. Specifically, somehow parsing the same SERVICE_DID environment variable resulted in both a did:web and a not did:web",
3838 });
3939 }
4040- return Response.json(didDoc);
4040+4141+ // NOTE: might seem sus, but it's much harder to actually expose out private keys lol
4242+ return Response.json(didDoc.didDoc);
4143 };
42444345 return serveDidDoc;