Version bump za etherpad, services fix za cors
parent
d7d5e85ae2
commit
ca623adf86
|
@ -208,18 +208,19 @@ parameters:
|
|||
cors.config:
|
||||
enabled: true
|
||||
# Specify allowed headers, like 'x-allowed-header'.
|
||||
allowedHeaders: ['x-csrf-token','authorization','content-type','accept','origin','x-requested-with']
|
||||
allowedHeaders: ['x-csrf-token','authorization','content-type','accept','origin','x-requested-with','access-control-allow-origin','x-allowed-header','*']
|
||||
# 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: ['*']
|
||||
allowedOrigins: ['yufu.kompot.si']
|
||||
# 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
|
||||
supportsCredentials: true
|
||||
allowCredentials: true
|
||||
|
||||
queue.config:
|
||||
# The maximum number of seconds to wait if a queue is temporarily suspended.
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
parameters:
|
||||
cors.config:
|
||||
enabled: true
|
||||
allowedHeaders: ['x-csrf-token','authorization','content-type','accept','origin','x-requested-with','access-control-allow-origin','x-allowed-header','*']
|
||||
allowedOrigins: ['*']
|
||||
allowCredentials: true
|
|
@ -777,5 +777,3 @@ if (file_exists(__DIR__ . '/settings.ddev.php') && getenv('IS_DDEV_PROJECT') ==
|
|||
if (file_exists($app_root . '/' . $site_path . '/settings.local.php')) {
|
||||
include $app_root . '/' . $site_path . '/settings.local.php';
|
||||
}
|
||||
|
||||
include $app_root."/sites/settings.local.php";
|
Loading…
Reference in New Issue