You've already forked Atomcms-edit
Remove all auto-update functionality (commands, services, widgets, blades, translations)
This commit is contained in:
Regular → Executable
+4
-4
@@ -17,15 +17,15 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'paths' => ['api/*', 'sanctum/csrf-cookie', 'client/*'],
|
||||
'paths' => ['api/*', 'sanctum/csrf-cookie', 'client/*', 'imaging/*'],
|
||||
|
||||
'allowed_methods' => array_filter(array_map(trim(...), explode(',', (string) env('CORS_ALLOWED_METHODS', 'GET,POST,PUT,PATCH,DELETE,OPTIONS'))), fn ($v) => $v !== ''),
|
||||
|
||||
'allowed_origins' => array_filter(array_map(trim(...), explode(',', (string) env('CORS_ALLOWED_ORIGINS', ''))), fn ($v) => $v !== ''),
|
||||
'allowed_origins' => ['*'], // Zorgt ervoor dat alle origins (zoals je client/CMS) de imaging mogen inladen
|
||||
|
||||
'allowed_origins_patterns' => [],
|
||||
|
||||
'allowed_headers' => ['Content-Type', 'X-Requested-With', 'Authorization', 'X-XSRF-TOKEN'],
|
||||
'allowed_headers' => ['*'], // Flexibel instellen zodat er geen headers geblokkeerd worden
|
||||
|
||||
'exposed_headers' => [],
|
||||
|
||||
@@ -33,4 +33,4 @@ return [
|
||||
|
||||
'supports_credentials' => true,
|
||||
|
||||
];
|
||||
];
|
||||
Reference in New Issue
Block a user