forked from lix-project/hydra
use build timestamp as last-modified header on download
This commit is contained in:
parent
2a18d8aac9
commit
ef802279ed
|
@ -197,6 +197,7 @@ sub download : Chained('build') PathPart {
|
|||
notFound($c, "Path $path is a directory.") if -d $path;
|
||||
|
||||
$c->serve_static_file($path);
|
||||
$c->response->headers->last_modified($c->stash->{build}->timestamp);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue