Skip to content

Commit 6947e31

Browse files
chore: add configuration to restrict domains in Giscus
This change allows limiting the domains that can load Giscus within the repository's discussions using the 'origins' key. This is done to prevent spammers and lammers, like those in the #3761, from creating discussions through unauthorized Giscus forms just to show off. For everyone reading this commit, we want to emphasize that we are an open community welcoming broad discussion and collaboration. Contributions are highly encouraged, and behaviors like this will not be tolerated in our community.
1 parent 5c7300f commit 6947e31

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

giscus.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"origins": ["https://docs.shellhub.io"]
3+
}

0 commit comments

Comments
 (0)