From 048696f15501c828af65342230a7f2998df167c4 Mon Sep 17 00:00:00 2001 From: hzrd149 Date: Fri, 4 Oct 2024 12:05:47 -0500 Subject: [PATCH] small fixes --- src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index d715361..66e171f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -110,7 +110,7 @@ app.use(async (ctx, next) => { // fetch blossom servers if not in cache if (!servers) { - console.log(`${pubkey}: Searching for blossom servers`); + console.log(`${pubkey}: Fetching blossom servers`); servers = await getUserBlossomServers(pubkey, relays); if (servers) { @@ -137,6 +137,7 @@ app.use(async (ctx, next) => { // pass headers along if (res.headers["content-length"]) ctx.set("content-length", res.headers["content-length"]); + ctx.status = 200; ctx.body = res; return; }