16 lines
274 B
TypeScript
16 lines
274 B
TypeScript
const path = require('path');
|
|
import { join } from "path";
|
|
import gateway from "express-gateway";
|
|
// const gateway = require('express-gateway');
|
|
|
|
class run {
|
|
constructor () {
|
|
//@ts-ignore
|
|
gateway()
|
|
.load(join(__dirname, 'config'))
|
|
.run();
|
|
}
|
|
}
|
|
|
|
new run()
|