From 10c2497fcca5442ea28ebce71e2d13978069c840 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sun, 14 Aug 2011 14:47:41 +0100 Subject: [PATCH] Allow cross site export --- node/server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/node/server.js b/node/server.js index 0d8cc303..3805e991 100644 --- a/node/server.js +++ b/node/server.js @@ -204,6 +204,7 @@ async.waterfall([ return; } + res.header("Access-Control-Allow-Origin", "*"); res.header("Server", serverName); exportHandler.doExport(req, res, req.params.pad, req.params.type); });