main.ts aktualisiert
This commit is contained in:
parent
128c4312d4
commit
29161fa58a
7
main.ts
7
main.ts
|
@ -4,7 +4,9 @@ import { ConsoleHandler } from "std/log/handlers.ts";
|
|||
import { LevelName, setup } from "std/log/mod.ts";
|
||||
import { serveUi } from "./api/mod.ts";
|
||||
import { runAllTasks } from "./app/mod.ts";
|
||||
import { runBot } from "./bot/mod.ts";
|
||||
// runbot shouldn't be needed for webhooks?
|
||||
// import { runBot } from "./bot/mod.ts";
|
||||
import "./bot/mod.ts";
|
||||
|
||||
const logLevel = Deno.env.get("LOG_LEVEL")?.toUpperCase() as LevelName ?? "INFO";
|
||||
|
||||
|
@ -20,7 +22,8 @@ setup({
|
|||
|
||||
// run parts of the app
|
||||
await Promise.all([
|
||||
runBot(),
|
||||
// runbot shouldn't be needed for webhooks?
|
||||
// runBot(),
|
||||
runAllTasks(),
|
||||
serveUi(),
|
||||
]);
|
||||
|
|
Loading…
Reference in New Issue