projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pull merge.
[yaffs-website]
/
web
/
core
/
lib
/
Drupal
/
Core
/
DependencyInjection
/
Compiler
/
CorsCompilerPass.php
diff --git
a/web/core/lib/Drupal/Core/DependencyInjection/Compiler/CorsCompilerPass.php
b/web/core/lib/Drupal/Core/DependencyInjection/Compiler/CorsCompilerPass.php
index 207e094094f4870b401bf377972e95f75e6d53ee..3e0344a0f276456efe3e3e94362388b244b71c55 100644
(file)
--- a/
web/core/lib/Drupal/Core/DependencyInjection/Compiler/CorsCompilerPass.php
+++ b/
web/core/lib/Drupal/Core/DependencyInjection/Compiler/CorsCompilerPass.php
@@
-22,7
+22,7
@@
class CorsCompilerPass implements CompilerPassInterface {
$enabled = !empty($cors_config['enabled']);
}
$enabled = !empty($cors_config['enabled']);
}
- // Remove the CORS middleware completly in case it was not enabled.
+ // Remove the CORS middleware complet
e
ly in case it was not enabled.
if (!$enabled) {
$container->removeDefinition('http_middleware.cors');
}
if (!$enabled) {
$container->removeDefinition('http_middleware.cors');
}