mirror of
https://github.com/ericasch6/scrum-poker-internal.git
synced 2026-10-13 21:52:08 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8b7dd5e9bd | ||
|
|
f5b9242adc |
@@ -1 +1,3 @@
|
|||||||
# Scrumpoker without AD's
|
# Scrumpoker without AD's
|
||||||
|
|
||||||
|
trigger workflow
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ namespace App\Providers;
|
|||||||
use Carbon\CarbonImmutable;
|
use Carbon\CarbonImmutable;
|
||||||
use Illuminate\Support\Facades\Date;
|
use Illuminate\Support\Facades\Date;
|
||||||
use Illuminate\Support\Facades\DB;
|
use Illuminate\Support\Facades\DB;
|
||||||
|
use Illuminate\Support\Facades\URL;
|
||||||
use Illuminate\Support\ServiceProvider;
|
use Illuminate\Support\ServiceProvider;
|
||||||
use Illuminate\Validation\Rules\Password;
|
use Illuminate\Validation\Rules\Password;
|
||||||
|
|
||||||
@@ -24,6 +25,10 @@ class AppServiceProvider extends ServiceProvider
|
|||||||
public function boot(): void
|
public function boot(): void
|
||||||
{
|
{
|
||||||
$this->configureDefaults();
|
$this->configureDefaults();
|
||||||
|
|
||||||
|
if ($this->app->environment() !== 'local') {
|
||||||
|
URL::forceScheme('https');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ return Application::configure(basePath: dirname(__DIR__))
|
|||||||
health: '/up',
|
health: '/up',
|
||||||
)
|
)
|
||||||
->withMiddleware(function (Middleware $middleware): void {
|
->withMiddleware(function (Middleware $middleware): void {
|
||||||
|
$middleware->trustProxies(at: '*');
|
||||||
$middleware->encryptCookies(except: ['appearance', 'sidebar_state']);
|
$middleware->encryptCookies(except: ['appearance', 'sidebar_state']);
|
||||||
$middleware->alias([
|
$middleware->alias([
|
||||||
'room.player' => EnsureRoomParticipant::class,
|
'room.player' => EnsureRoomParticipant::class,
|
||||||
|
|||||||
Reference in New Issue
Block a user