10 lines
No EOL
236 B
JavaScript
10 lines
No EOL
236 B
JavaScript
import express from "express"
|
|
import {getUser, getDashboardStats} from "../controllers/general.js"
|
|
|
|
const router = express.Router();
|
|
|
|
router.get("/user/:id", getUser);
|
|
router.get("/dashboard", getDashboardStats)
|
|
|
|
|
|
export default router; |