mirror of https://github.com/xwiki-labs/cryptpad
re-add an incorrectly removed curly brace
This commit is contained in:
parent
41db88a360
commit
87a52b67f5
|
@ -142,7 +142,7 @@ app.head(/^\/common\/feedback\.html/, function (req, res, next) {
|
|||
|
||||
app.use('/blob', function (req, res, next) {
|
||||
if (req.method === 'HEAD') {
|
||||
Express.static(Path.join(__dirname, Env.paths.blob),
|
||||
Express.static(Path.join(__dirname, Env.paths.blob), {
|
||||
setHeaders: function (res, path, stat) {
|
||||
res.set('Access-Control-Allow-Origin', '*');
|
||||
res.set('Access-Control-Allow-Headers', 'Content-Length');
|
||||
|
|
Loading…
Reference in New Issue