diff options
Diffstat (limited to 'routes/web.php')
-rw-r--r-- | routes/web.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/routes/web.php b/routes/web.php index b86d710..4570f11 100644 --- a/routes/web.php +++ b/routes/web.php @@ -10,6 +10,9 @@ Route::name('scorm-player.')->prefix('elearning')->middleware([ 'web', ])->group(function() { + Route::get('scorm-player-{version}.js', [ScormPlayerController::class, 'jsSource']) + ->name('javascript'); + $group = function() { Route::get('/scorm/{sco}', 'scormLoad')->name('scorm.load'); Route::post('/scorm/{tracking}', 'scormCommit')->name('scorm.commit'); @@ -26,4 +29,5 @@ Route::name('scorm-player.')->prefix('elearning')->middleware([ } $route->group($group); + }); |