From 5159fd9f296801e1867586e73e2aa29976da2f0d Mon Sep 17 00:00:00 2001 From: ConnorYoh <40631091+ConnorYoh@users.noreply.github.com> Date: Thu, 10 Apr 2025 09:54:23 +0100 Subject: [PATCH] removed cdn import for cookieconsent library (#3325) # Description of Changes Please provide a summary of the changes, including: Closes #(3324) --- ## Checklist ### General - [ ] I have read the [Contribution Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md) - [ ] I have read the [Stirling-PDF Developer Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md) (if applicable) - [ ] I have read the [How to add new languages to Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md) (if applicable) - [ ] I have performed a self-review of my own code - [ ] My changes generate no new warnings ### Documentation - [ ] I have updated relevant docs on [Stirling-PDF's doc repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/) (if functionality has heavily changed) - [ ] I have read the section [Add New Translation Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md#add-new-translation-tags) (for new translation tags only) ### UI Changes (if applicable) - [ ] Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR) ### Testing (if applicable) - [ ] I have tested my changes locally. Refer to the [Testing Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md#6-testing) for more details. --- src/main/resources/static/js/thirdParty/cookieconsent-config.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/resources/static/js/thirdParty/cookieconsent-config.js b/src/main/resources/static/js/thirdParty/cookieconsent-config.js index 046a154ec..719918484 100644 --- a/src/main/resources/static/js/thirdParty/cookieconsent-config.js +++ b/src/main/resources/static/js/thirdParty/cookieconsent-config.js @@ -1,5 +1,4 @@ import './cookieconsent.umd.js'; -import 'https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.1.0/dist/cookieconsent.umd.js'; // Enable dark mode document.documentElement.classList.add('cc--darkmode');