Skip to content

Commit

Permalink
Merge pull request #878 from plentymarkets/fix/fallback_route_pattern
Browse files Browse the repository at this point in the history
FIX url pattern for fallback route
  • Loading branch information
felixdausch authored Aug 27, 2020
2 parents e206bb7 + b1428af commit 43ff314
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 43ff314

Please sign in to comment.