You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by gu...@apache.org on 2026/04/07 08:17:16 UTC

(mahout) branch main updated: [Website] Fix CSP violation by self-hosting cubes.png texture (#1244)

This is an automated email from the ASF dual-hosted git repository.

guanmingchiu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/mahout.git


The following commit(s) were added to refs/heads/main by this push:
     new 4ff568cd2 [Website] Fix CSP violation by self-hosting cubes.png texture (#1244)
4ff568cd2 is described below

commit 4ff568cd260de6a2b09daa6d2f5614c586f3bc98
Author: Karanjot Gaidu <90...@users.noreply.github.com>
AuthorDate: Tue Apr 7 04:17:09 2026 -0400

    [Website] Fix CSP violation by self-hosting cubes.png texture (#1244)
---
 website/src/pages/index.module.css |   2 +-
 website/static/img/cubes.png       | Bin 0 -> 633 bytes
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/website/src/pages/index.module.css b/website/src/pages/index.module.css
index 99335edd1..f8f2b53e5 100644
--- a/website/src/pages/index.module.css
+++ b/website/src/pages/index.module.css
@@ -8,7 +8,7 @@
   position: relative;
   height: 500px;
   overflow: hidden;
-  background: url('https://www.transparenttextures.com/patterns/cubes.png'),
+  background: url('/img/cubes.png'),
     linear-gradient(45deg, #00bcd4 0%, #00838f 100%);
   background-color: #00bcd4;
   background-repeat: repeat;
diff --git a/website/static/img/cubes.png b/website/static/img/cubes.png
new file mode 100644
index 000000000..cfd791106
Binary files /dev/null and b/website/static/img/cubes.png differ