1
0
Fork 0

Commit server.ts

refactor/models
Matthew 2019-11-16 19:43:21 -05:00
parent 2ab5d40c55
commit 242ade0fbb
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ export default class Server {
}
private async loadRoutes(): Promise<void> {
console.log(__dirname);
const routes = await fs.readdir('./routes');
routes.forEach(async (routeFile) => {
if (routeFile === 'index.js') return;