mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2025-12-16 19:18:49 +00:00
New constants/config merge system
This commit is contained in:
@@ -33,7 +33,7 @@ module.exports = [
|
||||
statusCode: 200,
|
||||
contentType: "image/jpeg",
|
||||
headers: {
|
||||
"Cache-Control": constants.image_cache_control
|
||||
"Cache-Control": constants.caching.image_cache_control
|
||||
},
|
||||
stream: image.stream("jpg")
|
||||
}
|
||||
@@ -54,7 +54,7 @@ module.exports = [
|
||||
})
|
||||
} else {
|
||||
return proxy(url, {
|
||||
"Cache-Control": constants.image_cache_control
|
||||
"Cache-Control": constants.caching.image_cache_control
|
||||
})
|
||||
}
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user