Skip to content

Commit

Permalink
move the config
Browse files Browse the repository at this point in the history
  • Loading branch information
Mads Møller committed Jul 2, 2019
1 parent bfe6591 commit e8bd1b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/config/api-core.php → config/api-core.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<?php

/*
|--------------------------------------------------------------------------
| API core key
|--------------------------------------------------------------------------
|
*/

return [
'api-key' => env('API_CORE_KEY', 'api_key')
'api-key' => env('API_CORE_KEY', 'api_key'),
];
2 changes: 1 addition & 1 deletion src/Auth/AuthServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function register()
public function boot()
{
$this->publishes([
__DIR__. '/config/api-core.php' => config_path('api-core.php'),
__DIR__ . '/../config/api-core.php' => config_path('api-core.php'),
]);
}
}

0 comments on commit e8bd1b9

Please sign in to comment.