clean up
This commit is contained in:
parent
beb92ac4eb
commit
cd70355127
@ -87,9 +87,6 @@ if (process.env.OPENTELEMETRY_ENABLED === "true") {
|
||||
]);
|
||||
}
|
||||
|
||||
// Get the current timestamp
|
||||
let timestamp: string = common.getTimeStamp();
|
||||
|
||||
if (useSentry) {
|
||||
app.use(Sentry.Handlers.requestHandler());
|
||||
app.use(Sentry.Handlers.tracingHandler());
|
||||
|
@ -4,7 +4,7 @@ import moment from "moment";
|
||||
import { Config } from "./config";
|
||||
import { Module } from "./module";
|
||||
|
||||
const PORT = 10082;
|
||||
const PORT = process.env.MUCHA_PORT !== undefined ? parseInt(process.env.MUCHA_PORT) : 10082;
|
||||
|
||||
export default class MuchaModule extends Module {
|
||||
register(app: Application): void {
|
||||
|
Loading…
x
Reference in New Issue
Block a user