Add blog functionality
This commit is contained in:
1 parent
6409267670
commit
3b8c85215f
15 files changed
+235
-9
No files matched your search
@@ -50,6 +50,11 @@ class Kernel extends ConsoleKernel
|
||||
$schedule->call(function() {
|
||||
Storage::disk('local')->put('regioagenda.json', file_get_contents($this->API_URL . 'agenda/overzicht'));
|
||||
})->everyMinute();
|
||||
|
||||
// Update blogs
|
||||
$schedule->call(function() {
|
||||
Storage::disk('local')->put('blogs.json', file_get_contents($this->API_URL . 'blog/overzicht'));
|
||||
})->everyMinute();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user