probably for the best
This commit is contained in:
parent
6e1cbb4d39
commit
8115e90934
1 changed files with 4 additions and 3 deletions
|
@ -46,9 +46,10 @@ export default authMiddleware({
|
||||||
});
|
});
|
||||||
|
|
||||||
if (isShit) {
|
if (isShit) {
|
||||||
return NextResponse.redirect(
|
return new NextResponse("Something not very good happened...", {
|
||||||
"https://www.youtube.com/watch?v=dQw4w9WgXcQ"
|
status: 500,
|
||||||
);
|
statusText: "Something not very good happened...",
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue