mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-26 16:30:57 +01:00
14 lines
465 B
TypeScript
14 lines
465 B
TypeScript
// This import has to be the first import in the file so that the agent is overridden before any other modules are imported.
|
|
import "./undici-log-agent-override";
|
|
|
|
import { registerCronJobRunner } from "@homarr/cron-job-runner";
|
|
import { jobGroup } from "@homarr/cron-jobs";
|
|
|
|
import { seedServerSettingsAsync } from "./seed-server-settings";
|
|
|
|
void (async () => {
|
|
registerCronJobRunner();
|
|
await jobGroup.startAllAsync();
|
|
await seedServerSettingsAsync();
|
|
})();
|