1Configs are loaded really early and probably not meant to use anything from the framework except Dotenv
2
3return [
4 'photos_url' => URL::asset('xxx'),
5];
6
7Instead you can use:
8
9return [
10 'photos_url' => env('APP_URL').'/rest_of_path.ext',
11];