| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/switchyard/releases/20260626144351/config/ |
Upload File : |
<?php
return [
/*
* Switchyard API + admin. The docs-site try-it console at
* `switchyard.philiprehberger.com` (Scalar API reference) fires real
* calls cross-origin into `api.switchyard.philiprehberger.com`, so the
* API needs to allow that origin specifically. The Filament admin
* is same-origin so doesn't need its own entry.
*/
'paths' => ['v1/*', 'webhooks/*'],
'allowed_methods' => ['*'],
'allowed_origins' => [
'https://switchyard.philiprehberger.com',
'http://localhost:3000',
'http://localhost:3014',
'http://localhost:3018',
],
'allowed_origins_patterns' => [],
'allowed_headers' => ['*'],
'exposed_headers' => [
'X-RateLimit-Limit',
'X-RateLimit-Remaining',
'X-RateLimit-Reset',
],
'max_age' => 600,
'supports_credentials' => false,
];