mirror of
https://github.com/filiprojek/nork.git
synced 2025-02-20 01:22:58 +01:00
To be honest, I do not quite remember everything I changed here today. But it is all good, I tell ya.
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
import { Router, Request, Response, NextFunction } from 'express'
|
||||
|
||||
const router = Router()
|
||||
export const router = Router()
|
||||
|
||||
router.use((req: Request, res: Response, next: NextFunction) => {
|
||||
console.log('Hi :)')
|
||||
next()
|
||||
})
|
||||
|
||||
module.exports = router
|
||||
|
Reference in New Issue
Block a user