chore: prettier everywhere

This commit is contained in:
Julien Froidefond
2025-10-09 13:40:03 +02:00
parent f8100ae3e9
commit d9cf9a2655
303 changed files with 15420 additions and 9391 deletions

View File

@@ -1,4 +1,4 @@
import { withAuth } from "next-auth/middleware"
import { withAuth } from 'next-auth/middleware';
export default withAuth(
function middleware() {
@@ -9,11 +9,11 @@ export default withAuth(
callbacks: {
authorized: ({ token }) => {
// Vérifier si l'utilisateur a un token valide
return !!token
return !!token;
},
},
}
)
);
export const config = {
matcher: [
@@ -30,4 +30,4 @@ export const config = {
*/
'/((?!api/auth|login|register|profile|_next/static|_next/image|favicon.ico|.*\\.(?:svg|png|jpg|jpeg|gif|webp)$).*)',
],
}
};