feat: 优化项目目录结构
This commit is contained in:
5
apps/frontend/lib/api/auth/logout.ts
Normal file
5
apps/frontend/lib/api/auth/logout.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import fetcher from "../fetcher";
|
||||
|
||||
export async function logout() {
|
||||
return fetcher('/api/auth/logout', { method: 'POST' });
|
||||
}
|
||||
Reference in New Issue
Block a user