mirror of
https://github.com/hzrd149/nsite-gateway.git
synced 2025-06-23 12:05:01 +00:00
small fixes
This commit is contained in:
parent
fb3541259c
commit
048696f155
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user