From d3b8dde3c82d6b1ec35f8826a03e3570e4645f16 Mon Sep 17 00:00:00 2001 From: Jake Date: Mon, 24 Nov 2014 15:59:55 -0600 Subject: [PATCH] Attempt to set Origin header --- routes/avatars.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/routes/avatars.js b/routes/avatars.js index 7dd648e..6cf33cf 100644 --- a/routes/avatars.js +++ b/routes/avatars.js @@ -31,7 +31,8 @@ router.get('/skins/:uuid.:ext?', function(req, res) { 'Cache-Control': 'max-age=' + config.browser_cache_time + ', public', 'Response-Time': new Date() - start, 'X-Storage-Type': human_status[status], - 'Access-Control-Allow-Origin': "*" + 'Access-Control-Allow-Origin': "*", + 'Origin': 'https://crafatar.com' }); res.end(); } else if (!err) {