Signal and Docker updates
This commit is contained in:
parent
0cf1c3b8fd
commit
dbf3a95bbb
4 changed files with 23 additions and 11 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue