Skip to content

Commit 355864d

Browse files
authored
Merge pull request #471 from dbarzin/dev
Dev
2 parents afd4a33 + 7b7ca9b commit 355864d

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ APP_NAME=Deming
22
APP_ENV=production
33
APP_KEY=
44
APP_FORCE_HTTPS=false
5-
APP_DEBUG=true
5+
APP_DEBUG=false
66
APP_URL=http://deming.yourdomain.com
77
APP_TIMEZONE='Europe/Paris'
88

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
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: |

app/Providers/AppServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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,

config/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
|
3838
*/
3939

40-
'force_https' => env('APP_FORCE_HTTPS', null),
40+
'force_https' => (bool) env('APP_FORCE_HTTPS', null),
4141

4242
/*
4343
|--------------------------------------------------------------------------

0 commit comments

Comments
 (0)