Skip to content

Commit

Permalink
Images expire after 1 year
Browse files Browse the repository at this point in the history
  • Loading branch information
Gappa committed Jan 7, 2019
1 parent 8ca071c commit 7ed1289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Presenters/ResizePresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function actionDefault(string $file, string $params = null, bool $useAsse
);

$now = new DateTime;
$this->response->setExpiration($now->modify('+1 MONTH'));
$this->response->setExpiration($now->modify('+1 YEAR'));
$this->sendResponse($fileResponse);
}
}
Expand Down

0 comments on commit 7ed1289

Please sign in to comment.