small fixes

This commit is contained in:
hzrd149 2024-10-04 12:05:47 -05:00
parent fb3541259c
commit 048696f155

View File

@ -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;
}