update
This commit is contained in:
@ -2,6 +2,8 @@ import express from 'express';
|
||||
|
||||
import { AuthController } from '../controllers/auth';
|
||||
import { Language } from '../langs/lang';
|
||||
import path from 'path';
|
||||
import fs from 'fs';
|
||||
|
||||
export class RoutePublic {
|
||||
static setup(app: express.Application) {
|
||||
@ -13,6 +15,7 @@ export class RoutePublic {
|
||||
app.put('/api/update_password/:token', AuthController.updatePassword)
|
||||
app.put('/api/logout/:refresh_token', AuthController.logout)
|
||||
app.put('/api/renew_token/:refresh_token/:application', AuthController.renewToken)
|
||||
app.use('/static', express.static(path.join(__dirname, 'assets')));
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user