Skip to content

Commit

Permalink
Improve the asset routes
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckyCyborg committed Jul 13, 2019
1 parent 4616edb commit 12b8343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Routes/Assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// Register the route for assets from main assets folder.
$dispatcher->route('assets/(.*)', function (Request $request, $path) use ($dispatcher)
{
$basePath = Config::get('routing.assets.path', base_path('assets'));
$basePath = Config::get('routing.assets.path', BASEPATH .'assets');

$path = $basePath .DS .str_replace('/', DS, $path);

Expand Down

0 comments on commit 12b8343

Please sign in to comment.