mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-13 18:44:22 +01:00
14 lines
277 B
TypeScript
14 lines
277 B
TypeScript
// Starts up applications required to run before the HTTP server is on.
|
|
|
|
import { Conf } from '@/config.ts';
|
|
import { cron } from '@/cron.ts';
|
|
import { startFirehose } from '@/firehose.ts';
|
|
|
|
if (Conf.firehoseEnabled) {
|
|
startFirehose();
|
|
}
|
|
|
|
if (Conf.cronEnabled) {
|
|
cron();
|
|
}
|