mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-16 23:54:38 -05:00
cache for a long time
This commit is contained in:
parent
aafffd6c0b
commit
b61c841996
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ app.use(function (req, res, next) {
|
|||
|
||||
app.use(function (req, res, next) {
|
||||
res.header("Access-Control-Allow-Origin", "*");
|
||||
res.setHeader("Cache-Control", "public, max-age=1848"); // cache header
|
||||
res.setHeader("Cache-Control", "public, max-age=232337763"); // cache header
|
||||
res.setHeader("poketube-cacher", "PROXY_FILES");
|
||||
|
||||
next();
|
||||
|
|
Loading…
Reference in a new issue