From aefe7dd8bb45f090fba43ea658c160157513f1b6 Mon Sep 17 00:00:00 2001 From: Christopher Dieringer Date: Wed, 17 Jan 2024 17:09:50 -0800 Subject: [PATCH] [PATCH] feat: expose fastify handle to user-space electrode-server is tightly coupled to fastify. some users may need fastify for testing or plugin development purposes, otherwise, they have to bring their own fastify installation, which competes with electrode-server. --- src/electrode-server.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/electrode-server.ts b/src/electrode-server.ts index 2cb9855..ab713aa 100644 --- a/src/electrode-server.ts +++ b/src/electrode-server.ts @@ -391,3 +391,5 @@ export async function electrodeServer( await emitEvent(ctx, "config-composed"); return await start(ctx); } + +export { default as fastify } from 'fastify';