From 436a667f457cb1d19f0b332d1a413eaa87c06377 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sun, 9 Mar 2025 11:06:33 +0100 Subject: [PATCH] Exclude storybook --- apps/api/src/middlewares/html-template.middleware.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/api/src/middlewares/html-template.middleware.ts b/apps/api/src/middlewares/html-template.middleware.ts index 6c929c388..b6c8f2e54 100644 --- a/apps/api/src/middlewares/html-template.middleware.ts +++ b/apps/api/src/middlewares/html-template.middleware.ts @@ -129,6 +129,7 @@ export const HtmlTemplateMiddleware = async ( if ( path.startsWith('/api/') || + path.startsWith('/development/storybook') || isFileRequest(path) || !environment.production ) {