immich/e2e-auth-server/startup.ts
2026-02-02 15:06:40 +01:00

8 lines
170 B
TypeScript

import setup from './auth-server'
const teardown = await setup()
process.on('exit', () => {
teardown()
console.log('[e2e-auth-server] stopped')
process.exit(0)
})