23-01-2026

This commit is contained in:
Kevin Adametz 2026-01-23 17:33:10 +01:00
parent 07959c0ba2
commit 854ce02bf6
166 changed files with 32909 additions and 1262 deletions

View file

@ -55,6 +55,19 @@ return [
'url' => env('APP_URL', 'https://localhost'),
'domain_name' => env('APP_DOMAIN_NAME', 'localhost'),
/*
|--------------------------------------------------------------------------
| Asset URL
|--------------------------------------------------------------------------
|
| This URL is used when generating asset URLs. By default, this is null
| which means assets will be served from the same domain. For multi-domain
| setups, this is dynamically overwritten by the ThemeServiceProvider.
|
*/
'asset_url' => env('ASSET_URL'),
/*
|--------------------------------------------------------------------------
| Application Timezone

62
config/cors.php Normal file
View file

@ -0,0 +1,62 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Cross-Origin Resource Sharing (CORS) Configuration
|--------------------------------------------------------------------------
|
| Diese Konfiguration ermöglicht dynamische CORS-Unterstützung für alle
| konfigurierten Domains im Multi-Domain-Setup.
|
*/
'paths' => ['api/*', 'sanctum/csrf-cookie', '@vite/*', '@fs/*', 'build/*'],
'allowed_methods' => ['*'],
'allowed_origins' => [
// Dynamisch alle konfigurierten Domains erlauben
env('DOMAIN_PORTAL_URL', 'https://portal.b2in.eu'),
env('DOMAIN_B2IN_URL', 'https://b2in.eu'),
env('DOMAIN_B2A_URL', 'https://bridges2america.online'),
env('DOMAIN_STILEIGENTUM_URL', 'https://stileigentum.de'),
env('DOMAIN_STYLE2OWN_URL', 'https://style2own.de'),
env('VITE_DEV_SERVER_URL', 'https://assets.b2in.eu'),
// HTTP-Varianten für Entwicklung
'http://portal.b2in.test',
'http://b2in.test',
'http://b2a.test',
'http://stileigentum.test',
'http://style2own.test',
'http://assets.b2in.test',
// Localhost für lokale Entwicklung
'http://localhost:5174',
'http://127.0.0.1:5174',
// Live Domains
'https://portal.b2in.eu',
'https://api.b2in.eu',
'https://b2in.eu',
'https://cabinet.b2in.eu', // Digital Signage Display
'https://bridges2america.online',
'https://stileigentum.de',
'https://style2own.de',
],
'allowed_origins_patterns' => [
// Erlaube alle Subdomains von .b2in.eu für Produktion
'#^https?://.*\.b2in\.eu$#',
// Erlaube alle Subdomains von .test und .local für Entwicklung
'#^https?://.*\.b2in\.test$#',
'#^https?://.*\.test$#',
'#^https?://.*\.local$#',
],
'allowed_headers' => ['*'],
'exposed_headers' => [],
'max_age' => 0,
'supports_credentials' => true,
];

25
config/display.php Normal file
View file

@ -0,0 +1,25 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Display Configuration
|--------------------------------------------------------------------------
|
| Konfiguration für die Cabinet Display Digital Signage Seite
|
*/
// Basispfad für die Display-Seite (relativ zu public/)
// Immer '_cabinet' - sowohl für Test als auch Live
'base_path' => env('DISPLAY_BASE_PATH', '_cabinet'),
// Subdomain für den Live-Server (optional)
// Wird verwendet, um die korrekte URL zu generieren
'subdomain' => env('DISPLAY_SUBDOMAIN', null), // z.B. 'cabinet'
// Haupt-Domain
'domain' => env('DISPLAY_DOMAIN', 'b2in.eu'),
];

View file

@ -20,13 +20,25 @@ return [
*/
'protocol' => env('APP_PROTOCOL', 'https://'),
/*
|--------------------------------------------------------------------------
| Domain-Namen (ohne Protokoll)
|--------------------------------------------------------------------------
*/
'domain_portal' => env('DOMAIN_PORTAL', 'portal.b2in.test'),
'domain_api' => env('DOMAIN_API', 'api.b2in.test'),
'domain_b2in' => env('DOMAIN_B2IN', 'b2in.test'),
'domain_b2a' => env('DOMAIN_B2A', 'b2a.test'),
'domain_stileigentum' => env('DOMAIN_STILEIGENTUM', 'stileigentum.test'),
'domain_style2own' => env('DOMAIN_STYLE2OWN', 'style2own.test'),
/*
|--------------------------------------------------------------------------
| Vollständige Domain-URLs (mit Protokoll)
|--------------------------------------------------------------------------
*/
'domain_portal_url' => env('DOMAIN_PORTAL_URL', 'https://portal.b2in.test'),
'domain_api_url' => env('DOMAIN_API_URL', 'https://api.b2in.test'),
'domain_b2in_url' => env('DOMAIN_B2IN_URL', 'https://b2in.test'),
'domain_b2a_url' => env('DOMAIN_B2A_URL', 'https://b2a.test'),
'domain_stileigentum_url' => env('DOMAIN_STILEIGENTUM_URL', 'https://stileigentum.test'),

View file

@ -69,22 +69,9 @@ return [
'directory' => null, // Example: 'tmp' | Default: 'livewire-tmp'
'middleware' => null, // Example: 'throttle:5,1' | Default: 'throttle:60,1'
'preview_mimes' => [ // Supported file types for temporary pre-signed file URLs...
'png',
'gif',
'bmp',
'svg',
'wav',
'mp4',
'mov',
'avi',
'wmv',
'mp3',
'm4a',
'jpg',
'jpeg',
'mpga',
'webp',
'wma',
'png', 'gif', 'bmp', 'svg', 'wav', 'mp4',
'mov', 'avi', 'wmv', 'mp3', 'm4a',
'jpg', 'jpeg', 'mpga', 'webp', 'wma',
],
'max_upload_time' => 5, // Max duration (in minutes) before an upload is invalidated...
'cleanup' => true, // Should cleanup temporary uploads older than 24 hrs...
@ -158,6 +145,19 @@ return [
'inject_morph_markers' => true,
/*
|---------------------------------------------------------------------------
| Smart Wire Keys
|---------------------------------------------------------------------------
|
| Livewire uses loops and keys used within loops to generate smart keys that
| are applied to nested components that don't have them. This makes using
| nested components more reliable by ensuring that they all have keys.
|
*/
'smart_wire_keys' => false,
/*
|---------------------------------------------------------------------------
| Pagination Theme
@ -170,4 +170,17 @@ return [
*/
'pagination_theme' => 'tailwind',
/*
|---------------------------------------------------------------------------
| Release Token
|---------------------------------------------------------------------------
|
| This token is stored client-side and sent along with each request to check
| a users session to see if a new release has invalidated it. If there is
| a mismatch it will throw an error and prompt for a browser refresh.
|
*/
'release_token' => 'a',
];