diff --git a/src/routes.ts b/src/routes.ts index 1c1af79..5b5dde6 100755 --- a/src/routes.ts +++ b/src/routes.ts @@ -335,7 +335,10 @@ export const hasNoHeader = (path: string) => { let result = true; withoutHeaderRoutes.forEach((route) => { - if (path === route) { + if ( + !path.includes("palmistry") && path.includes(route) || + path.includes("palmistry") && path === route + ) { result = false; } });