initial
This commit is contained in:
12
src/routes/private.ts
Normal file
12
src/routes/private.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import express from 'express';
|
||||
import { Language } from '../langs/lang';
|
||||
import JwtHelper from '../helpers/jwt';
|
||||
|
||||
export class RoutePrivate {
|
||||
static setup(app: express.Application) {
|
||||
|
||||
// app.use(Language.apply)
|
||||
|
||||
JwtHelper.secure(app);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user