Created some user endpoints ; Pretty code
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
//place exported routes below this line
|
||||
import { Hono } from 'hono';
|
||||
import actions from './actions';
|
||||
|
||||
import { Hono } from "hono";
|
||||
import actions from "./userRoutes";
|
||||
|
||||
const routes = new Hono();
|
||||
|
||||
routes.route("/", actions)
|
||||
routes.route("/", actions);
|
||||
|
||||
|
||||
export default routes;
|
||||
export default routes;
|
||||
|
||||
Reference in New Issue
Block a user