Signal and Docker updates

This commit is contained in:
Darren Clarke 2024-06-28 12:28:11 +02:00
parent 0cf1c3b8fd
commit dbf3a95bbb
4 changed files with 23 additions and 11 deletions

View file

@ -60,7 +60,8 @@ export default withAuth(checkRewrites, {
},
callbacks: {
authorized: ({ token, req }) => {
if (req.nextUrl.pathname === "/api/v1") {
console.log({ p: req.nextUrl.pathname });
if (req.nextUrl.pathname.startsWith("/api/v1/")) {
return true;
}