File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ APP_NAME=Deming
22APP_ENV = production
33APP_KEY =
44APP_FORCE_HTTPS = false
5- APP_DEBUG = true
5+ APP_DEBUG = false
66APP_URL = http://deming.yourdomain.com
77APP_TIMEZONE = ' Europe/Paris'
88
Original file line number Diff line number Diff line change 5353
5454 - name : Migrate and seed the database
5555 run : |
56- php artisan migrate --seed
56+ php artisan migrate --seed --force
5757
5858 - name : Seed Attributes
5959 run : |
Original file line number Diff line number Diff line change @@ -29,15 +29,15 @@ public function register()
2929 public function boot ()
3030 {
3131 if (
32- (App::environment ('production ' ) && (config ('app.force_https ' )===null ))
32+ (App::environment ('production ' ) && (Config:: get ('app.force_https ' )===null ))
3333 ||
3434 Config::get ('app.force_https ' )
3535 )
3636 {
3737 URL ::forceScheme ('https ' );
3838 }
3939
40- if (config ('app.debug ' )) {
40+ if (Config:: get ('app.debug ' )) {
4141 DB ::listen (function ($ query ) {
4242 Log::info (
4343 $ query ->sql ,
Original file line number Diff line number Diff line change 3737 |
3838 */
3939
40- 'force_https ' => env ('APP_FORCE_HTTPS ' , null ),
40+ 'force_https ' => ( bool ) env ('APP_FORCE_HTTPS ' , null ),
4141
4242 /*
4343 |--------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments