diff --git a/src/app.ts b/src/app.ts index 00a1460..6968b0d 100644 --- a/src/app.ts +++ b/src/app.ts @@ -1,6 +1,6 @@ import { type Context, cors, type Handler, Hono, type HonoEnv, logger, type MiddlewareHandler } from '@/deps.ts'; import { type Event } from '@/event.ts'; -import '@/loopback.ts'; +import '@/firehose.ts'; import { actorController } from './controllers/activitypub/actor.ts'; import { diff --git a/src/loopback.ts b/src/firehose.ts similarity index 93% rename from src/loopback.ts rename to src/firehose.ts index e07c73e..17a5155 100644 --- a/src/loopback.ts +++ b/src/firehose.ts @@ -20,9 +20,9 @@ relay.subscribe( undefined, ); -/** Handle events through the loopback pipeline. */ +/** Handle events through the firehose pipeline. */ async function handleEvent(event: SignedEvent): Promise { - console.info('loopback event:', event.id); + console.info('firehose event:', event.id); trackHashtags(event);