mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 08:26:16 -04:00
Account for undefined argument.
This commit is contained in:
parent
96ee77d85b
commit
24a26953a7
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ CachingMiddleware.prototype = new function () {
|
|||
// Update cache
|
||||
var buffer = '';
|
||||
|
||||
Object.keys(headers).forEach(function (key) {
|
||||
Object.keys(headers || {}).forEach(function (key) {
|
||||
res.setHeader(key, headers[key]);
|
||||
});
|
||||
headers = _headers;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue