Skip to content

Commit

Permalink
Fix routes
Browse files Browse the repository at this point in the history
  • Loading branch information
puleeno committed Apr 6, 2024
1 parent 6f7607f commit 539fd9d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions app/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,6 @@ protected function setup()
$routes = require __DIR__ . '/../routes/web.php';
$routes($this->app);

// Register routes
$apis = require __DIR__ . '/../apis/api.php';
$apis($this->app);

// Register routes
$this->app->options('/{routes:.*}', function (Request $request, Response $response) {
// CORS Pre-Flight OPTIONS Request Handler
Expand Down
4 changes: 0 additions & 4 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
$group->get('/{id}', ViewUserAction::class);
});

$app->any(config('login_path', '/auth/login'), function(){
die('zo');
});


$app->any(
'/',
Expand Down

0 comments on commit 539fd9d

Please sign in to comment.