Preimenovan services fajl za CORS (razvijalske nastavitve)

pull/26/head
Jurij Podgoršek 2023-11-12 19:09:48 +01:00
parent ec23f7fff6
commit 905b8e8b04
2 changed files with 8 additions and 1 deletions

3
.gitignore vendored
View File

@ -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

View File

@ -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