Live preview when editting website! Very cool!

This commit is contained in:
2026-03-26 16:30:28 -05:00
parent b678e405c5
commit 475f1cad85
8 changed files with 78 additions and 6 deletions

View File

@@ -6,7 +6,7 @@ import {
} from '@convex-dev/auth/nextjs/server';
const isSignInPage = createRouteMatcher(['/sign-in']);
const isProtectedRoute = createRouteMatcher(['/profile']);
const isProtectedRoute = createRouteMatcher(['/profile', '/admin']);
export default convexAuthNextjsMiddleware(
async (request, { convexAuth }) => {