Skip to content

Commit

Permalink
Fix package from most recent update.
Browse files Browse the repository at this point in the history
The most recent update will break upon composer install or composer update because this is missing from the config.

Here is the error:

```
  Return value of Alexusmai\LaravelFileManager\Services\ConfigService\DefaultConfigRepository::getRoutePrefix() must be of the type string, null returned

  at vendor/alexusmai/laravel-file-manager/src/Services/ConfigService/DefaultConfigRepository.php:20

```
  • Loading branch information
jeremykenedy authored Jun 30, 2020
1 parent 22abfc9 commit a3ecb72
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/file-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@

return [

/**
* LFM Route prefix
* !!! WARNING - if you change it, you should compile frontend with new prefix(baseUrl) !!!
*/
'routePrefix' => 'file-manager',

/**
* Set Config repository
*
Expand Down

0 comments on commit a3ecb72

Please sign in to comment.