Skip to content

Commit

Permalink
FIX url pattern for fallback route
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Dausch committed Aug 27, 2020
1 parent e206bb7 commit b1428af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Providers/IORouteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,8 @@ public function map(Router $router, ApiRouter $api)
if (RouteConfig::passThroughBlogRoutes()) {
// do not catch legacy blog-routes
$fallbackRoute->where('anything', '(?:(?!blog).*|.*(?<!blog))');
} else {
$fallbackRoute->where('anything', '.*');
}
}
}
Expand Down

0 comments on commit b1428af

Please sign in to comment.