update language
This commit is contained in:
@ -2,10 +2,13 @@ import express from 'express';
|
||||
|
||||
import { AuthController } from '../controllers/auth';
|
||||
import { UserController } from '../controllers/user';
|
||||
import { Language } from '../langs/lang';
|
||||
|
||||
export class RoutePublic {
|
||||
static setup(app: express.Application) {
|
||||
|
||||
app.use(Language.apply);
|
||||
|
||||
app.post('/api/login', AuthController.login)
|
||||
app.put('/api/reset_password/:email', AuthController.resetPassword)
|
||||
app.put('/api/update_password/:token', AuthController.updatePassword)
|
||||
|
||||
Reference in New Issue
Block a user