mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 11:00:39 +02:00
remove 'public' part from Cache-Control, not required
This commit is contained in:
@@ -29,7 +29,7 @@ module.exports = function(request, response, result) {
|
||||
// These headers are the same for every response
|
||||
var headers = {
|
||||
"Content-Type": result.body && result.type || "text/plain",
|
||||
"Cache-Control": "max-age=" + config.caching.browser + ", public",
|
||||
"Cache-Control": "max-age=" + config.caching.browser,
|
||||
"Response-Time": Date.now() - request.start,
|
||||
"X-Request-ID": request.id,
|
||||
"Access-Control-Allow-Origin": "*"
|
||||
|
||||
Reference in New Issue
Block a user