test(printers): started printer migration
This commit is contained in:
14
server/services/printers/printerService.ts
Normal file
14
server/services/printers/printerService.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import {OpenAPIHono} from "@hono/zod-openapi";
|
||||
|
||||
import alerts from "./route/printerAlert.js";
|
||||
const app = new OpenAPIHono();
|
||||
const port = 4000;
|
||||
|
||||
const routes = [alerts] as const;
|
||||
|
||||
// app.route("/server", modules);
|
||||
const appRoutes = routes.forEach((route) => {
|
||||
app.route("/printers", route);
|
||||
});
|
||||
|
||||
export default app;
|
||||
Reference in New Issue
Block a user