*BSD repo updates

This commit is contained in:
Yorhel 2025-01-09 13:24:00 +01:00
parent 147911b750
commit 1f8bd0ef9a
3 changed files with 21 additions and 6 deletions

View file

@ -31,12 +31,10 @@ TUWF::set(
TUWF::hook before => sub {
if(tuwf->{_TUWF}{http}) {
if(tuwf->resFile("$ROOT/www", tuwf->reqPath)) {
tuwf->resHeader('Cache-Control' => 'max-age=31536000');
tuwf->done;
}
}
if(tuwf->resFile("$ROOT/www", tuwf->reqPath)) {
tuwf->resHeader('Cache-Control' => 'max-age=31536000');
tuwf->done;
}
};