From 0b2934235db44a4642a83610090f4176630af439 Mon Sep 17 00:00:00 2001 From: James Cole Date: Mon, 27 Nov 2017 18:39:11 +0100 Subject: [PATCH] Experimenting with heroku settings. --- app.json | 4 ++-- config/app.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app.json b/app.json index 3123e028f0..98fd5d30a7 100644 --- a/app.json +++ b/app.json @@ -43,11 +43,11 @@ } ], "scripts": { - "postdeploy": "export APP_KEY=$(php artisan --no-ansi key:generate --show) && php artisan migrate:refresh --seed" + "postdeploy": "php artisan migrate:refresh --seed" }, "buildpacks": [ { - "url": "https://github.com/lifekent/heroku-buildpack-laravel" + "url": "heroku/php" } ], "env": { diff --git a/config/app.php b/config/app.php index 36121a892f..916b474ab3 100644 --- a/config/app.php +++ b/config/app.php @@ -30,7 +30,7 @@ return [ 'timezone' => 'UTC', 'locale' => 'en_US', 'fallback_locale' => 'en_US', - 'key' => env('APP_KEY'), + 'key' => env('APP_KEY','7ahyYVPVsmxjdhsweWCauGeJfwc92NP2'), 'cipher' => 'AES-256-CBC', 'log' => env('APP_LOG', 'errorlog'), 'log_level' => env('APP_LOG_LEVEL', 'info'),