Skip to content

Commit

Permalink
starting to launch file-server from layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Inalegwu committed Sep 7, 2024
1 parent b4ee9d9 commit ee6d9cc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/shared/routers/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { publicProcedure, router } from "@src/trpc";
import startServer from "@shared/core/file-server";
import {globalState$} from "@shared/state";

// TODO
export const nodeRouter = router({
startServer:publicProcedure.mutation(async()=>startServer(globalState$.port.get())),
});

0 comments on commit ee6d9cc

Please sign in to comment.