diff --git a/lib/controllers.js b/lib/controllers.js index e8e2736e..976a902f 100644 --- a/lib/controllers.js +++ b/lib/controllers.js @@ -24,6 +24,7 @@ module.exports = function (rootDirectory, logger, indexDocument, errorDocument, }; var buildResponse = function (req, res, status, object, data) { + res.header('Access-Control-Allow-Origin', '*'); res.header('Etag', object.md5); res.header('Last-Modified', new Date(object.modifiedDate).toUTCString()); res.header('Content-Type', object.contentType);