1
0
Fork 0
refactor/models
Matthew 2019-11-17 18:02:54 -05:00
parent 95f78b3643
commit 1f2791db45
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
/* eslint-disable consistent-return */
import { Server } from '..';
import { Route } from '../../class';
import { Req } from '../interfaces';
export default class FileSystem extends Route {
constructor(server: Server) {
super(server, { path: '/fs', deprecated: false, maintenance: true });
}
public bind() {
this.router.use(async (req, res, next) => {
await this.authorize(req, res, next);
});
this.router.get('/:');
}
}