mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-22 19:25:18 -04:00
Merge pull request #1857 from hedgedoc/fix/crash-on-metrics
This commit is contained in:
commit
f79ca5b39f
2 changed files with 7 additions and 1 deletions
2
app.js
2
app.js
|
@ -175,7 +175,7 @@ app.use(flash())
|
||||||
|
|
||||||
// passport
|
// passport
|
||||||
app.use(passport.initialize())
|
app.use(passport.initialize())
|
||||||
app.use(passport.session())
|
app.use(useUnless(['/status', '/metrics'], passport.session()))
|
||||||
|
|
||||||
// check uri is valid before going further
|
// check uri is valid before going further
|
||||||
app.use(require('./lib/web/middleware/checkURIValid'))
|
app.use(require('./lib/web/middleware/checkURIValid'))
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
# Release Notes
|
# Release Notes
|
||||||
|
|
||||||
|
## <i class="fa fa-tag"></i> Unreleased
|
||||||
|
|
||||||
|
### Bugfixes
|
||||||
|
|
||||||
|
- Fix error in the session handler when requesting `/metrics` or `/status`
|
||||||
|
|
||||||
## <i class="fa fa-tag"></i> 1.9.1 <i class="fa fa-calendar-o"></i> 2021-12-02
|
## <i class="fa fa-tag"></i> 1.9.1 <i class="fa fa-calendar-o"></i> 2021-12-02
|
||||||
|
|
||||||
This release increases the minimum required Node versions to `12.20.0`, `14.13.1` and `16`.
|
This release increases the minimum required Node versions to `12.20.0`, `14.13.1` and `16`.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue