Skip to content

Commit

Permalink
Fix the problem that github star does not display. (#104)
Browse files Browse the repository at this point in the history
The current fury website github star displays abnormally.


![image](https://github.com/apache/incubator-fury-site/assets/116876207/91e18c62-8f63-45e0-9360-1c5c7636283c)

The exception information is as follows:

`Refused to frame 'https://ghbtns.com/' because it violates the
following Content Security Policy directive: "frame-src 'self'".`

Signed-off-by: LiangliangSui <[email protected]>
  • Loading branch information
LiangliangSui authored Feb 27, 2024
1 parent 374c1e6 commit 3ec7065
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ const config: Config = {
],
plugins: [require.resolve('docusaurus-lunr-search')],
themeConfig: {
// Replace with your project's social card
metadata: [
{'http-equiv': 'Content-Security-Policy', content: "frame-src 'self' https://ghbtns.com"},
],
navbar: {
title: '',
logo: {
Expand Down

0 comments on commit 3ec7065

Please sign in to comment.