diff --git a/src/.vuepress/config.ts b/src/.vuepress/config.ts index 0ba663741..212df5f04 100644 --- a/src/.vuepress/config.ts +++ b/src/.vuepress/config.ts @@ -93,6 +93,10 @@ _paq.push(['enableLinkTracking']); // 'data-language': 'zh', 'data-project-name': 'Apache IoTDB', 'data-project-color': '#9E2878', + 'data-button-image-height': '0px', + 'data-button-image-width': '0px', + // 'data-button-bg-color': '#FFF', + // 'data-button-text-color': '#9E2878', 'data-project-logo': 'https://iotdb.apache.org/slogo.png', 'data-button-position-right': '16px', 'data-button-position-bottom': '120px', diff --git a/src/.vuepress/public/.htaccess b/src/.vuepress/public/.htaccess index 7aaedcc56..0b1868267 100644 --- a/src/.vuepress/public/.htaccess +++ b/src/.vuepress/public/.htaccess @@ -6,4 +6,4 @@ RewriteRule . /404.html [L] ErrorDocument 404 /404.html -Header set Content-Security-Policy "default-src data: blob: 'self' *.apache.org *.githubusercontent.com *.github.com *.algolia.net *.algolianet.com *.kapa.ai *.apachecon.com *.communityovercode.org 'unsafe-inline' 'unsafe-eval'; frame-src 'self' data: blob:; frame-ancestors 'self'; worker-src 'self' data: blob:; img-src 'self' blob: data: https: *.apache.org www.apachecon.com; style-src 'self' 'unsafe-inline' data:;" +Header set Content-Security-Policy "default-src data: blob: 'self' *.apache.org *.githubusercontent.com *.github.com *.algolia.net *.algolianet.com *.kapa.ai www.google.com *.apachecon.com *.communityovercode.org 'unsafe-inline' 'unsafe-eval'; frame-src 'self' data: blob:; frame-ancestors 'self'; worker-src 'self' data: blob:; img-src 'self' blob: data: https: *.apache.org www.apachecon.com; style-src 'self' 'unsafe-inline' data:;" \ No newline at end of file