APP als Hybrid Version - Anbindung an API

This commit is contained in:
Kevin Adametz 2026-06-05 09:54:12 +02:00
parent d054732bf5
commit c1514999be
46 changed files with 3418 additions and 196 deletions

27
backend/config/cors.php Normal file
View file

@ -0,0 +1,27 @@
<?php
return [
'paths' => ['api/*'],
'allowed_methods' => ['*'],
'allowed_origins' => [
'https://thats-me.app',
'https://www.thats-me.app',
'https://app.thats-me.app',
'https://app.thats-me.test',
'http://app.thats-me.test:9000',
'http://localhost:9000',
'http://127.0.0.1:9000',
],
'allowed_origins_patterns' => [],
'allowed_headers' => ['*'],
'exposed_headers' => [],
'max_age' => 0,
'supports_credentials' => false,
];