You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2021/10/23 16:39:39 UTC

[apisix-website] 01/01: chore: use CDN to load images

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

juzhiyuan pushed a commit to branch chore-cdn
in repository https://gitbox.apache.org/repos/asf/apisix-website.git

commit de7343bd726a8a239a33dc820c42e61cbdd8e14a
Author: juzhiyuan <ju...@apache.org>
AuthorDate: Sun Oct 24 00:39:28 2021 +0800

    chore: use CDN to load images
---
 website/docusaurus.config.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js
index 081a032..f3cb365 100644
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -8,7 +8,7 @@ module.exports = {
   baseUrl: "/",
   organizationName: "Apache",
   projectName: "apisix-website",
-  favicon: "img/favicon.png",
+  favicon: "https://cdn.jsdelivr.net/gh/apache/apisix-website@asf-site/img/favicon.png",
   customFields: {
     tagline2:
       "Apache APISIX software provides rich traffic management features such as load balancing, dynamic upstream, canary release, circuit breaking, authentication, observability, and more.",
@@ -421,7 +421,7 @@ module.exports = {
       hideOnScroll: true,
       title: "Apache APISIX®",
       logo: {
-        src: "img/logo2.svg",
+        src: "https://cdn.jsdelivr.net/gh/apache/apisix-website@asf-site/img/logo2.svg",
       },
       items: [
         {
@@ -594,7 +594,7 @@ module.exports = {
       ],
       logo: {
         alt: "Apache Software Foundation",
-        src: "img/asf_logo_wide_small.png",
+        src: "https://cdn.jsdelivr.net/gh/apache/apisix-website@asf-site/img/asf_logo_wide_small.png",
         href: "https://www.apache.org/",
       },
 
@@ -623,7 +623,7 @@ module.exports = {
       disableSwitch: false,
       respectPrefersColorScheme: false,
     },
-    image: 'img/favicon.png',
+    image: 'https://cdn.jsdelivr.net/gh/apache/apisix-website@asf-site/img/favicon.png',
     metadatas: [
       {
         name: "description",