Stuff
This commit is contained in:
parent
b799ee6c74
commit
0d558b2ab0
2 changed files with 7 additions and 1 deletions
|
@ -40,7 +40,7 @@ class PublicController extends BaseController
|
|||
|
||||
public function returnImageFile($tenant_url, $gallery_url, $image_id, Request $request) {
|
||||
$sizeName = $request->input("size", "medium");
|
||||
if(!array_key_exists($sizeName, $this->size)) {
|
||||
if(!array_key_exists($sizeName, self::$size)) {
|
||||
abort(400, "Size not exists");
|
||||
}
|
||||
$size = (int)$this->size[$sizeName];
|
||||
|
|
|
@ -170,3 +170,9 @@
|
|||
state: restarted
|
||||
daemon_reload: no
|
||||
name: nginx
|
||||
|
||||
- name: Creates a cron file under /etc/cron.d
|
||||
ansible.builtin.cron:
|
||||
name: laravelcron
|
||||
user: www-data
|
||||
job: "php /var/www/kuvia/artisan schedule:run"
|
||||
|
|
Loading…
Reference in a new issue