fix reflect-metadata import
This commit is contained in:
parent
9a686be8ba
commit
afedf92526
@ -5,10 +5,8 @@ import ExpressServer from "@Common/system/ExpressServer";
|
||||
import routes from "@App/index";
|
||||
import cors from "cors";
|
||||
import bodyParser from "body-parser";
|
||||
// import TezosLink from "@Common/databases/TezosLink";
|
||||
import errorHandler from "@App/middlewares/ErrorHandler";
|
||||
import { BackendVariables } from "@Common/config/variables/Variables";
|
||||
//import fileHandler from "@App/middlewares/FileHandler";
|
||||
import multer from "multer";
|
||||
|
||||
|
||||
@ -22,7 +20,6 @@ const storage = multer.memoryStorage();
|
||||
const rootUrl = variables.APP_ROOT_URL;
|
||||
const label = variables.APP_LABEL ?? "Unknown Service";
|
||||
|
||||
// Container.get(TezosLink).connect();
|
||||
Container.get(ExpressServer).init({
|
||||
label,
|
||||
port: parseInt(port),
|
||||
|
@ -1,4 +1,3 @@
|
||||
import "reflect-metadata";
|
||||
import jwt, { VerifyCallback } from "jsonwebtoken";
|
||||
import BaseService from "@Services/BaseService";
|
||||
import { BackendVariables } from "@Common/config/variables/Variables";
|
||||
|
Loading…
x
Reference in New Issue
Block a user