Compare commits

2 Commits
Author SHA1 Message Date
Twyco 8b7dd5e9bd trigger workflow
CI/CD / test_and_check_app (push) Successful in 1m7s
CI/CD / Publish immutable image (push) Successful in 1m7s
2026-08-24 22:41:53 +02:00
Twyco f5b9242adc fix url scheme
CI/CD / test_and_check_app (push) Successful in 7m59s
CI/CD / Publish immutable image (push) Successful in 2m3s
2026-08-24 21:53:27 +02:00
3 changed files with 8 additions and 0 deletions
+2
View File
@@ -1 +1,3 @@
# Scrumpoker without AD's
trigger workflow
+5
View File
@@ -5,6 +5,7 @@ namespace App\Providers;
use Carbon\CarbonImmutable;
use Illuminate\Support\Facades\Date;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\URL;
use Illuminate\Support\ServiceProvider;
use Illuminate\Validation\Rules\Password;
@@ -24,6 +25,10 @@ class AppServiceProvider extends ServiceProvider
public function boot(): void
{
$this->configureDefaults();
if ($this->app->environment() !== 'local') {
URL::forceScheme('https');
}
}
/**
+1
View File
@@ -17,6 +17,7 @@ return Application::configure(basePath: dirname(__DIR__))
health: '/up',
)
->withMiddleware(function (Middleware $middleware): void {
$middleware->trustProxies(at: '*');
$middleware->encryptCookies(except: ['appearance', 'sidebar_state']);
$middleware->alias([
'room.player' => EnsureRoomParticipant::class,