From 905b8e8b04552a54289c8c9bb8096c8701407ba0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurij=20Podgor=C5=A1ek?= Date: Sun, 12 Nov 2023 19:09:48 +0100 Subject: [PATCH] Preimenovan services fajl za CORS (razvijalske nastavitve) --- .gitignore | 3 ++- .../default/{development.services.yml => services.yml} | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) rename web/sites/default/{development.services.yml => services.yml} (78%) diff --git a/.gitignore b/.gitignore index cdb73b1..d97d543 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,8 @@ !/web/sites/default/settings.php /web/sites/*/default.services.yml /web/sites/*/services.yml -!/web/sites/*/development.services.yml +# @TODO dev settings, v produkciji gre ven! +!/web/sites/default/services.yml # Ignore paths that may contain user-generated content /web/sites/*/files diff --git a/web/sites/default/development.services.yml b/web/sites/default/services.yml similarity index 78% rename from web/sites/default/development.services.yml rename to web/sites/default/services.yml index c312768..708d478 100644 --- a/web/sites/default/development.services.yml +++ b/web/sites/default/services.yml @@ -1,4 +1,7 @@ +# @TODO dev services! +# V produkciji gre to stran! parameters: + http.response.debug_cacheability_headers: true cors.config: enabled: true # Specify allowed headers, like 'x-allowed-header'. @@ -15,3 +18,6 @@ parameters: supportsCredentials: false twig.config: debug: true +services: + cache.backend.null: + class: Drupal\Core\Cache\NullBackendFactory