📁 Changed TDrive root folder (#16)

📁 Changed TDrive root folder
This commit is contained in:
Montassar Ghanmy
2023-04-11 10:04:29 +01:00
committed by GitHub
parent 3b3f67af07
commit e0615fa867
10548 changed files with 48 additions and 48 deletions
+16
View File
@@ -0,0 +1,16 @@
import * as Sentry from "@sentry/node";
import { TdrivePlatform } from "./core/platform/platform";
import config from "./core/config";
import tdrive from "./tdrive";
if (config.get("sentry.dsn")) {
Sentry.init({
dsn: config.get("sentry.dsn"),
tracesSampleRate: 1.0,
});
}
const launch = async (): Promise<TdrivePlatform> => tdrive.run(config.get("services"));
// noinspection JSIgnoredPromiseFromCall
launch();