mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-01-31 15:37:09 +01:00
8 lines
198 B
TypeScript
8 lines
198 B
TypeScript
export default defineNitroPlugin(async (_nitro) => {
|
|
// all tasks we should run on server boot
|
|
await Promise.all([
|
|
runTask("cleanup:invitations"),
|
|
runTask("cleanup:sessions"),
|
|
]);
|
|
});
|