Merge branch 'dev' into staging
This commit is contained in:
commit
5bbf72c8b2
@ -2,13 +2,13 @@ import { ICustomerJwtPayload, IUserJwtPayload } from "@Front/Services/JwtService
|
|||||||
import jwt_decode from "jwt-decode";
|
import jwt_decode from "jwt-decode";
|
||||||
import { NextResponse } from "next/server";
|
import { NextResponse } from "next/server";
|
||||||
import type { NextRequest } from "next/server";
|
import type { NextRequest } from "next/server";
|
||||||
import TagManager from "react-gtm-module";
|
/* import TagManager from "react-gtm-module";
|
||||||
|
|
||||||
const tagManagerArgs = {
|
const tagManagerArgs = {
|
||||||
gtmId: "GTM-5GLJN86P",
|
gtmId: "GTM-5GLJN86P",
|
||||||
};
|
};
|
||||||
|
|
||||||
TagManager.initialize(tagManagerArgs);
|
TagManager.initialize(tagManagerArgs); */
|
||||||
|
|
||||||
export async function middleware(request: NextRequest) {
|
export async function middleware(request: NextRequest) {
|
||||||
// Get the JWT from the cookies
|
// Get the JWT from the cookies
|
||||||
@ -46,5 +46,6 @@ export const config = {
|
|||||||
"/offices/:path*",
|
"/offices/:path*",
|
||||||
"/roles/:path*",
|
"/roles/:path*",
|
||||||
"/users/:path*",
|
"/users/:path*",
|
||||||
|
"/subscription/:path*",
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user