Update Versi 1.5.27 #32

Merged
bagasbanuna merged 1009 commits from staging into main 2025-12-17 12:22:28 +08:00
1671 changed files with 70399 additions and 18716 deletions
Showing only changes of commit f863d6f3f9 - Show all commits

View File

@@ -92,6 +92,11 @@ export const middleware = async (req: NextRequest) => {
const user = await verifyToken({ token, encodedKey });
const response = NextResponse.next();
console.log("Token:", token);
console.log("User:", user);
console.log("Request URL:", req.url);
console.log("Request Pathname:", pathname);
// Handle login page access
if (pathname === loginPath) {
if (user) {