From 91e112074b95631561729e37a4bda86be0896042 Mon Sep 17 00:00:00 2001 From: Majk Shkurti Date: Fri, 29 Sep 2023 19:31:34 +0200 Subject: [PATCH] fix: conflict --- apps/web/middlewares/withOrganization.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/middlewares/withOrganization.ts b/apps/web/middlewares/withOrganization.ts index 02af0164..15df91ca 100644 --- a/apps/web/middlewares/withOrganization.ts +++ b/apps/web/middlewares/withOrganization.ts @@ -9,6 +9,7 @@ import { fallbackLng, cookieName as lngCookieName } from "@/app/i18/settings"; import { USERS_API_BASE_URL } from "@/lib/api/users"; import { getToken } from "next-auth/jwt"; import { refreshAccessToken } from "@/app/api/auth/[...nextauth]/options"; + const protectedPaths = ["/home", "/projects", "datasets", "/settings", "/map"]; export const withOrganization: MiddlewareFactory = (next: NextMiddleware) => {