refactor(CookieConsentSettings ): Entfernen Sie es und es ist DI Injection
This commit is contained in:
parent
bc91baa4fa
commit
5a1263ee3a
@ -130,8 +130,6 @@ try
|
||||
|
||||
builder.Services.AddSingleton(config.GetSection("ContactLink").Get<ContactLink>() ?? new());
|
||||
|
||||
builder.Services.AddCookieConsentSettings();
|
||||
|
||||
builder.Services.AddCookieBasedLocalizer();
|
||||
|
||||
builder.Services.AddSingleton(HtmlEncoder.Default);
|
||||
|
||||
@ -75,21 +75,6 @@
|
||||
"Audience": null,
|
||||
"Key": "8RGnd7x0G2TYLOIW4m_qlIls7MfbAIGNrpQJzMAUIvULHOLiG723znRa_MG-Z4yw3SErusOU4hTui2rVBMcCaQ"
|
||||
},
|
||||
"CookieConsentSettings": {
|
||||
"PrivacyPolicyUrl": "./privacy-policy.en.html",
|
||||
"LegalNoticeUrl": "./cookies-policy.en.html",
|
||||
"ContentURL": "/cookie-consent-content",
|
||||
"ButtonAgreeClass": "btn btn-primary",
|
||||
"ButtonDontAgreeClass": "btn btn-link text-decoration-none none-display",
|
||||
"ButtonSaveClass": "btn btn-secondary none-display",
|
||||
"Lang": "de",
|
||||
"DefaultLang": "en",
|
||||
"CookieName": "cookie-consent-settings",
|
||||
"CookieStorageDays": 1,
|
||||
"ModalId": "bootstrapCookieConsentSettingsModal",
|
||||
"AlsoUseLocalStorage": false,
|
||||
"Categories": [ "necessary" ]
|
||||
},
|
||||
"ContactLink": {
|
||||
"Label": "Kontakt",
|
||||
"Href": "https://digitaldata.works/",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user