增加离线下载功能
This commit is contained in:
@@ -6,6 +6,7 @@ export function getAuthInfoFromCookie(request: NextRequest): {
|
||||
username?: string;
|
||||
signature?: string;
|
||||
timestamp?: number;
|
||||
role?: 'owner' | 'admin' | 'user';
|
||||
} | null {
|
||||
const authCookie = request.cookies.get('auth');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user