Bugfix/exclude Storybook from html template middleware (#4414)
* Exclude storybook * Update changelog
This commit is contained in:
@ -18,6 +18,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Improved the language localization for German (`de`)
|
- Improved the language localization for German (`de`)
|
||||||
- Upgraded `@simplewebauthn/browser` and `@simplewebauthn/server` from version `9.0` to `13.1`
|
- Upgraded `@simplewebauthn/browser` and `@simplewebauthn/server` from version `9.0` to `13.1`
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fixed an issue with serving _Storybook_
|
||||||
|
|
||||||
## 2.144.0 - 2025-03-06
|
## 2.144.0 - 2025-03-06
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
@ -129,6 +129,7 @@ export const HtmlTemplateMiddleware = async (
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
path.startsWith('/api/') ||
|
path.startsWith('/api/') ||
|
||||||
|
path.startsWith('/development/storybook') ||
|
||||||
isFileRequest(path) ||
|
isFileRequest(path) ||
|
||||||
!environment.production
|
!environment.production
|
||||||
) {
|
) {
|
||||||
|
Reference in New Issue
Block a user