From e2eb6d41cdbaddae531f968cb6a8f7dd0aeb0c78 Mon Sep 17 00:00:00 2001 From: Mark Caron Date: Fri, 19 Sep 2025 15:48:37 -0400 Subject: [PATCH] fix: temp fix CDN Cors issue --- README.md | 2 ++ templates/index.html | 11 ++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a5983af..7a20832 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,8 @@ This project is build and run using [Zola](https://www.getzola.org/), a Rust-bas Under the hood, Zola uses [Tera](https://keats.github.io/tera/) for templating. +This project also uses the [Red Hat Design System](https://ux.redhat.com/). + ## Licensing - [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) for the displayed page and primary license for this repository diff --git a/templates/index.html b/templates/index.html index 3bf03c7..d073920 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,11 +1,12 @@ -{% set cdn_base_url = "https://redhatstatic.com/dssf-001/v2/" %} -{% if config.extra.env == "dev" %} - {% set cdn_base_url = "https://cdn.jsdelivr.net/npm/" %} -{% endif %} - + {# Temporarily using 3rd pary CDN while we fix CORS issue with https://redhatstatic.com/dssf-001/v2/ #} + {% set cdn_base_url = "https://cdn.jsdelivr.net/npm/" %} + {% if config.extra.env == "dev" %} + {% set cdn_base_url = "https://cdn.jsdelivr.net/npm/" %} + {% endif %} + {% include "partials/_head.html" %}