Redirect op diepe audiolinks

This commit is contained in:
2021-02-17 09:41:38 +01:00
parent 529c08948a
commit 351ffe8709
2 changed files with 44 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ class StreamController extends Controller
$apiResult = $this->API('podcast/details/' . (int)$id);
$podcast = new \Model\Podcast($apiResult);
if($podcast->auth != $request->get('auth')) {
return abort(403);
return view('podcastredirect', ['podcast' => $podcast]);
}
return view('listen', [