CoolFace
Apppublic

kenken999/php

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
cors.php35 linesDownload Raw Back to config
1<?php2 3return [4 5    /*6    |--------------------------------------------------------------------------7    | Cross-Origin Resource Sharing (CORS) Configuration8    |--------------------------------------------------------------------------9    |10    | Here you may configure your settings for cross-origin resource sharing11    | or "CORS". This determines what cross-origin operations may execute12    | in web browsers. You are free to adjust these settings as needed.13    |14    | To learn more: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS15    |16    */17 18    'paths' => ['api/*', 'sanctum/csrf-cookie'],19 20    'allowed_methods' => ['*'],21 22    'allowed_origins' => ['*'],23 24    'allowed_origins_patterns' => [],25 26    'allowed_headers' => ['*'],27 28    'exposed_headers' => [],29 30    'max_age' => 0,31 32    'supports_credentials' => false,33 34];35