mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-07 08:26:15 +00:00
fix: format ternary expression to pass Biome CI check
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
3e988d7500
commit
e1289e5c2f
1 changed files with 1 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue