fix: format ternary expression to pass Biome CI check

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
claude[bot] 2026-06-15 23:03:45 +00:00 committed by Prasanna A P
parent 3e988d7500
commit e1289e5c2f

View file

@ -92,9 +92,7 @@ app.get("/.well-known/oauth-protected-resource", (c) => {
// host the client connected to (tunnel, prod, localhost, etc.)
const host = c.req.header("x-forwarded-host") || c.req.header("host")
const proto = c.req.header("x-forwarded-proto") || "https"
const resourceUrl = host
? `${proto}://${host}`
: "https://mcp.supermemory.ai"
const resourceUrl = host ? `${proto}://${host}` : "https://mcp.supermemory.ai"
return c.json({
resource: resourceUrl,