mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 07:55:52 +01:00
🏗️ Migrate ping to tRPC
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
import { createTRPCRouter } from '~/server/api/trpc';
|
||||
import { appRouter } from './routers/app';
|
||||
|
||||
/**
|
||||
* This is the primary router for your server.
|
||||
*
|
||||
* All routers added in /api/routers should be manually added here.
|
||||
*/
|
||||
export const rootRouter = createTRPCRouter({});
|
||||
export const rootRouter = createTRPCRouter({
|
||||
app: appRouter,
|
||||
});
|
||||
|
||||
// export type definition of API
|
||||
export type RootRouter = typeof rootRouter;
|
||||
|
||||
Reference in New Issue
Block a user