mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-22 07:51:17 +01:00
Attempt to set Origin header
This commit is contained in:
parent
ca57f598d2
commit
d3b8dde3c8
@ -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) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user