1
0
mirror of synced 2025-01-22 11:23:40 +01:00
This commit is contained in:
Shiroi Kitsu 2023-05-27 16:15:58 +07:00
parent beb92ac4eb
commit cd70355127
2 changed files with 1 additions and 4 deletions

View File

@ -87,9 +87,6 @@ if (process.env.OPENTELEMETRY_ENABLED === "true") {
]); ]);
} }
// Get the current timestamp
let timestamp: string = common.getTimeStamp();
if (useSentry) { if (useSentry) {
app.use(Sentry.Handlers.requestHandler()); app.use(Sentry.Handlers.requestHandler());
app.use(Sentry.Handlers.tracingHandler()); app.use(Sentry.Handlers.tracingHandler());

View File

@ -4,7 +4,7 @@ import moment from "moment";
import { Config } from "./config"; import { Config } from "./config";
import { Module } from "./module"; 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 { export default class MuchaModule extends Module {
register(app: Application): void { register(app: Application): void {