Skip to content
2 changes: 1 addition & 1 deletion src/app/api/agent/config/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export async function GET(request: Request) {
certFiles = certs;

// Re-dump to YAML with proper quoting for special characters
configYaml = yaml.dump(withCerts, { indent: 2, lineWidth: -1, noRefs: true });
configYaml = yaml.dump(withCerts, { indent: 2, lineWidth: -1, noRefs: true, forceQuotes: true, quotingType: '"' });
}
// External backend: configYaml is used as-is with references intact

Expand Down
Loading