mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-09 20:12:10 +10: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"),
|
|
]);
|
|
});
|