Envrc za composer izvajanje (drush), urejen services

pull/42/head
Jurij Podgoršek 2024-01-17 22:23:38 +01:00 committed by Lio Novelli
parent fb75e98054
commit b1a2f63e0d
3 changed files with 6 additions and 20 deletions

2
.envrc 100644
View File

@ -0,0 +1,2 @@
PATH_add vendor/bin

View File

@ -206,11 +206,11 @@ parameters:
# for more information about the topic in general. # for more information about the topic in general.
# Note: By default the configuration is disabled. # Note: By default the configuration is disabled.
cors.config: cors.config:
enabled: true enabled: false
# Specify allowed headers, like 'x-allowed-header'. # Specify allowed headers, like 'x-allowed-header'.
allowedHeaders: ['x-csrf-token','authorization','content-type','accept','origin','x-requested-with','access-control-allow-origin','x-allowed-header','*'] allowedHeaders: []
# Specify allowed request methods, specify ['*'] to allow all possible ones. # Specify allowed request methods, specify ['*'] to allow all possible ones.
allowedMethods: ['*'] allowedMethods: []
# Configure requests allowed from specific origins. Do not include trailing # Configure requests allowed from specific origins. Do not include trailing
# slashes with URLs. # slashes with URLs.
allowedOrigins: ['*'] allowedOrigins: ['*']
@ -219,8 +219,7 @@ parameters:
# Sets the Access-Control-Max-Age header. # Sets the Access-Control-Max-Age header.
maxAge: false maxAge: false
# Sets the Access-Control-Allow-Credentials header. # Sets the Access-Control-Allow-Credentials header.
supportsCredentials: true supportsCredentials: false
allowCredentials: true
queue.config: queue.config:
# The maximum number of seconds to wait if a queue is temporarily suspended. # The maximum number of seconds to wait if a queue is temporarily suspended.

View File

@ -4,21 +4,6 @@
# 'example.settings.local.php' file, which sits next to this file. # 'example.settings.local.php' file, which sits next to this file.
parameters: parameters:
http.response.debug_cacheability_headers: true http.response.debug_cacheability_headers: true
cors.config:
enabled: true
# Specify allowed headers, like 'x-allowed-header'.
allowedHeaders: ['x-csrf-token','authorization','content-type','accept','origin','x-requested-with']
# Specify allowed request methods, specify ['*'] to allow all possible ones.
allowedMethods: ['*']
# Configure requests allowed from specific origins. Do not include trailing
# slashes with URLs.
allowedOrigins: ['*']
# Sets the Access-Control-Expose-Headers header.
exposedHeaders: false
# Sets the Access-Control-Max-Age header.
maxAge: false
# Sets the Access-Control-Allow-Credentials header.
supportsCredentials: false
services: services:
cache.backend.null: cache.backend.null:
class: Drupal\Core\Cache\NullBackendFactory class: Drupal\Core\Cache\NullBackendFactory