Attempt to set Origin header

This commit is contained in:
Jake 2014-11-24 15:59:55 -06:00
parent ca57f598d2
commit d3b8dde3c8

View File

@ -31,7 +31,8 @@ router.get('/skins/:uuid.:ext?', function(req, res) {
'Cache-Control': 'max-age=' + config.browser_cache_time + ', public', 'Cache-Control': 'max-age=' + config.browser_cache_time + ', public',
'Response-Time': new Date() - start, 'Response-Time': new Date() - start,
'X-Storage-Type': human_status[status], 'X-Storage-Type': human_status[status],
'Access-Control-Allow-Origin': "*" 'Access-Control-Allow-Origin': "*",
'Origin': 'https://crafatar.com'
}); });
res.end(); res.end();
} else if (!err) { } else if (!err) {