Browse Source
Bugfix/exclude Storybook from html template middleware (#4414)
* Exclude storybook
* Update changelog
pull/4416/head^2
Thomas Kaul
2 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
5 additions and
0 deletions
-
CHANGELOG.md
-
apps/api/src/middlewares/html-template.middleware.ts
|
|
@ -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`) |
|
|
|
- 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 |
|
|
|
|
|
|
|
### Fixed |
|
|
|
|
|
@ -129,6 +129,7 @@ export const HtmlTemplateMiddleware = async ( |
|
|
|
|
|
|
|
if ( |
|
|
|
path.startsWith('/api/') || |
|
|
|
path.startsWith('/development/storybook') || |
|
|
|
isFileRequest(path) || |
|
|
|
!environment.production |
|
|
|
) { |
|
|
|