Skip to content

Conversation

@adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

Ratis website is broken due to new Content Security Policy.

before

Fix:

  • Add bootstrap and jquery scripts to static to avoid using remote resources
  • Remove broken embedded slides (keep links)

https://issues.apache.org/jira/browse/RATIS-2250

How was this patch tested?

hugo serve
open http://localhost:1313

after

Copy link
Contributor

@szetszwo szetszwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 the change looks good.

@adoroszlai adoroszlai merged commit 2ef323c into apache:asf-site-source Feb 19, 2025
@adoroszlai adoroszlai deleted the RATIS-2250 branch February 19, 2025 20:13
@adoroszlai
Copy link
Contributor Author

Thanks @szetszwo for the review.

@adoroszlai
Copy link
Contributor Author

@szetszwo I need to add RAT exclusions:

diff --git rat-excludes.txt rat-excludes.txt
index bb844d78..209588c8 100644
--- rat-excludes.txt
+++ rat-excludes.txt
@@ -14,4 +14,7 @@
 .gitignore
 .hugo_build.lock
 build
+bootstrap.min.css
+bootstrap.min.js
+jquery.min.js
 ./*.patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants