mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 21:01:33 +02:00
Merge pull request #6100 from overleaf/bg-fix-bot-exception
[web] fix exception when trying to regenerate bot session GitOrigin-RevId: 753b1dc5cc54263d198181d53bd8dfa02b7dae05
This commit is contained in:
@@ -88,6 +88,9 @@ class SessionAutostartMiddleware {
|
||||
noSessionCallback: (_req, _res, next) => {
|
||||
next()
|
||||
},
|
||||
// prevent exception for bot accesses to /project (which requires
|
||||
// login and regenerates session)
|
||||
regenerate: cb => cb(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user