Switched to export default exports

ref #4
This commit is contained in:
2020-11-25 18:15:54 +01:00
parent 23df478522
commit e58da2a22b
2 changed files with 4 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ import * as jwt from 'jsonwebtoken';
import { createConnection } from 'typeorm';
import 'reflect-metadata';
import { router as routerMain } from './routes/index';
import routerMain from './routes/index';
// const loaders = require('./loaders');
import * as loaders from './loaders/index';