chore: format
This commit is contained in:
parent
e473dfb10e
commit
7803aa80d0
@ -25,7 +25,8 @@ const assets = `${_dirname}/../../server/file/assets/`;
|
|||||||
const MAX_BYTE_RANGES = 10;
|
const MAX_BYTE_RANGES = 10;
|
||||||
|
|
||||||
const commonReadableHandlerGenerator =
|
const commonReadableHandlerGenerator =
|
||||||
(ctx: Koa.Context) => (e: Error): void => {
|
(ctx: Koa.Context) =>
|
||||||
|
(e: Error): void => {
|
||||||
serverLogger.error(e);
|
serverLogger.error(e);
|
||||||
ctx.status = 500;
|
ctx.status = 500;
|
||||||
ctx.set("Cache-Control", "max-age=300");
|
ctx.set("Cache-Control", "max-age=300");
|
||||||
|
@ -175,7 +175,8 @@ export default async (
|
|||||||
) =>
|
) =>
|
||||||
// biome-ignore lint/suspicious/noAsyncPromiseExecutor: FIXME
|
// biome-ignore lint/suspicious/noAsyncPromiseExecutor: FIXME
|
||||||
new Promise<Note>(async (res, rej) => {
|
new Promise<Note>(async (res, rej) => {
|
||||||
const dontFederateInitially = data.visibility?.startsWith("hidden") === true;
|
const dontFederateInitially =
|
||||||
|
data.visibility?.startsWith("hidden") === true;
|
||||||
|
|
||||||
// If you reply outside the channel, match the scope of the target.
|
// If you reply outside the channel, match the scope of the target.
|
||||||
// TODO (I think it's a process that could be done on the client side, but it's server side for now.)
|
// TODO (I think it's a process that could be done on the client side, but it's server side for now.)
|
||||||
|
Loading…
Reference in New Issue
Block a user