Commit server.ts

merge-requests/1/merge
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;