Proof of concept - Vue Polling - Performance Improvement and tweaking for better user experience

This commit is contained in:
Dillon Ngo
2024-01-03 05:39:43 +08:00
parent f0ef9a5602
commit f54aae5dc9
5 changed files with 28 additions and 9 deletions
+1
View File
@@ -4,4 +4,5 @@ use Illuminate\Support\Facades\Route;
Route::group(['prefix' => 'job', 'as' => 'job.', 'namespace' => 'Jobs'], function () {
Route::get('/fetch/{job_id}', 'FetchJobResultController@fetch')->name('fetch');
Route::get('/fetch/{job_id}/{is_last}', 'FetchJobResultController@fetch')->name('fetch.last.attempt');
});