mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-08-24 10:04:09 -05:00
electra: bump website, add cache-control
This commit is contained in:
Generated
+3
-3
@@ -529,11 +529,11 @@
|
||||
"utils": "utils_5"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1660973293,
|
||||
"narHash": "sha256-sXi9dqkngiOJ5yD9gcpH/JiAKltbjgkmRTZJd+HFdW0=",
|
||||
"lastModified": 1661000808,
|
||||
"narHash": "sha256-QKInq+EoGLp8tS3hCRwOdZ5o4BIYHbRkNOm5lVOp/yI=",
|
||||
"owner": "~misterio",
|
||||
"repo": "website",
|
||||
"rev": "226435f4a587d40a71838ba743585f11f0d5a73e",
|
||||
"rev": "7c194791c5564f5c5083fde09d971bb58225e35e",
|
||||
"type": "sourcehut"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -32,6 +32,7 @@ in
|
||||
root = "${pkgs.website.main}/public";
|
||||
extraConfig = ''
|
||||
add_header Last-Modified "${toDateTime inputs.website.lastModified}";
|
||||
add_header Cache-Control max-age="${toString (60 * 60 * 24 /* One day */)}";
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user