first commit
This commit is contained in:
15
gateway/server.ts
Normal file
15
gateway/server.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
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()
|
||||
Reference in New Issue
Block a user