source: config/cors.php@ 112ba6d

develop
Last change on this file since 112ba6d was 2fc88ec, checked in by beratkjufliju <kufliju@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 846 bytes
Line 
1<?php
2
3return [
4
5 /*
6 |--------------------------------------------------------------------------
7 | Cross-Origin Resource Sharing (CORS) Configuration
8 |--------------------------------------------------------------------------
9 |
10 | Here you may configure your settings for cross-origin resource sharing
11 | or "CORS". This determines what cross-origin operations may execute
12 | 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/CORS
15 |
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];
Note: See TracBrowser for help on using the repository browser.