Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Simoneu01 committed Oct 18, 2023
1 parent d66adc6 commit 7104602
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace App\Providers;

use App\Http\Auth\Socialite\GameShardProvider;
use Illuminate\Support\Facades\URL;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Str;

Expand All @@ -21,6 +22,10 @@ public function register(): void
*/
public function boot(): void
{
if($this->app->environment('production')) {
URL::forceScheme('https');

Check warning on line 26 in app/Providers/AppServiceProvider.php

View check run for this annotation

Codecov / codecov/patch

app/Providers/AppServiceProvider.php#L26

Added line #L26 was not covered by tests
}

$socialite = $this->app->make('Laravel\Socialite\Contracts\Factory');
$socialite->extend(
'gameshard',
Expand Down
6 changes: 3 additions & 3 deletions nixpacks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cmds = [
'php artisan storage:link',
#'php artisan config:cache',
'php artisan route:cache',
'php artisan view:cache',
'php artisan event:cache',
# 'php artisan migrate --force',
#'php artisan view:cache',
#'php artisan event:cache',
#'php artisan migrate --force',
]

0 comments on commit 7104602

Please sign in to comment.