Skip to content

Commit 7697a95

Browse files
authored
Merge pull request #384 from RedHatOfficial/fix/cdn
fix: temp fix CDN Cors issue
2 parents 1b6e72a + e2eb6d4 commit 7697a95

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ This project is build and run using [Zola](https://www.getzola.org/), a Rust-bas
108108

109109
Under the hood, Zola uses [Tera](https://keats.github.io/tera/) for templating.
110110

111+
This project also uses the [Red Hat Design System](https://ux.redhat.com/).
112+
111113
## Licensing
112114

113115
- [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) for the displayed page and primary license for this repository

templates/index.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
{% set cdn_base_url = "https://redhatstatic.com/dssf-001/v2/" %}
2-
{% if config.extra.env == "dev" %}
3-
{% set cdn_base_url = "https://cdn.jsdelivr.net/npm/" %}
4-
{% endif %}
5-
61
<!doctype html>
72
<html lang="en">
83
<head>
4+
{# Temporarily using 3rd pary CDN while we fix CORS issue with https://redhatstatic.com/dssf-001/v2/ #}
5+
{% set cdn_base_url = "https://cdn.jsdelivr.net/npm/" %}
6+
{% if config.extra.env == "dev" %}
7+
{% set cdn_base_url = "https://cdn.jsdelivr.net/npm/" %}
8+
{% endif %}
9+
910
{% include "partials/_head.html" %}
1011
</head>
1112
<body>

0 commit comments

Comments
 (0)