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
parent
commit
52081d6741
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      CHANGELOG.md
  2. 1
      apps/api/src/middlewares/html-template.middleware.ts

4
CHANGELOG.md

@ -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

1
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
) {

Loading…
Cancel
Save