Skip to content

Commit 52081d6

Browse files
authored
Bugfix/exclude Storybook from html template middleware (ghostfolio#4414)
* Exclude storybook * Update changelog
1 parent cb1f488 commit 52081d6

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Diff for: CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1818
- Improved the language localization for German (`de`)
1919
- Upgraded `@simplewebauthn/browser` and `@simplewebauthn/server` from version `9.0` to `13.1`
2020

21+
### Fixed
22+
23+
- Fixed an issue with serving _Storybook_
24+
2125
## 2.144.0 - 2025-03-06
2226

2327
### Fixed

Diff for: apps/api/src/middlewares/html-template.middleware.ts

+1
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ export const HtmlTemplateMiddleware = async (
129129

130130
if (
131131
path.startsWith('/api/') ||
132+
path.startsWith('/development/storybook') ||
132133
isFileRequest(path) ||
133134
!environment.production
134135
) {

0 commit comments

Comments
 (0)