mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-30 09:48:55 +00:00
Add Api\ApiController, update routes/web.php
This commit is contained in:
@@ -92,7 +92,7 @@ class BasePageController extends Controller
|
||||
*/
|
||||
public function __construct(Request $request)
|
||||
{
|
||||
$this->middleware('auth');
|
||||
$this->middleware('auth')->except('api');
|
||||
// Buffer settings/DB connection.
|
||||
$this->settings = new Settings();
|
||||
$this->pdo = new DB();
|
||||
|
||||
Reference in New Issue
Block a user