Set a micropub token when not in production
This commit is contained in:
parent
e32cc59b81
commit
fc5caf5392
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class MicropubSessionProvider extends ServiceProvider
|
|||
public function boot()
|
||||
{
|
||||
//allow micropub use in development
|
||||
if (env('APP_DEBUG') == true) {
|
||||
if (config('app.env') !== 'production') {
|
||||
session(['me' => env('APP_URL')]);
|
||||
if (Storage::exists('dev-token')) {
|
||||
session(['token' => Storage::get('dev-token')]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue