Skip to content

Commit

Permalink
Merge branch 'master' into edlib3
Browse files Browse the repository at this point in the history
  • Loading branch information
emmachughes committed Nov 27, 2024
2 parents 9047524 + 8d76de7 commit a1e280a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class AdapterSelector extends Component {
{
adapterMode: selectedAdapter,
})
.then(data => window.location.href = data.data.url)
.then(() => window.location.reload())
.catch(data => console.log(data));
}

Expand Down
2 changes: 1 addition & 1 deletion sourcecode/apis/contentauthor/routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
->name('lti-return');

Route::post('h5p/adapter', function () {
return ["url" => route('create')];
return response()->noContent();
})->name('h5p.adapter')->middleware('adaptermode');
Route::get('h5p/{h5p}/copyright', [H5PController::class, 'getCopyright']);
Route::get('h5p/{h5p}/info', [H5PController::class, 'getInfo']);
Expand Down

0 comments on commit a1e280a

Please sign in to comment.