mirror of
https://github.com/ershisan99/coolify.git
synced 2026-01-26 12:34:32 +00:00
v1.0.13 (#46)
This commit is contained in:
10
src/routes/api/v1/logout/index.ts
Normal file
10
src/routes/api/v1/logout/index.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import type { Request } from '@sveltejs/kit';
|
||||
export async function del(request: Request) {
|
||||
request.locals.session.destroy = true;
|
||||
|
||||
return {
|
||||
body: {
|
||||
ok: true
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user