You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Keep your fork up to date](#keep-your-fork-up-to-date)
91
91
-[:sparkling\_heart: Support the project](#sparkling_heart-support-the-project)
92
92
</details>
@@ -797,11 +797,13 @@ Since the GitHub API only allows 5k requests per hour, my `https://github-readme
797
797
5. You're done 🎉
798
798
</details>
799
799
800
-
## Disable rate limit protections
800
+
## Available environment variables
801
801
802
-
GitHub Readme Stats contains several Vercel environment variables that can be used to remove the rate limit protections:
802
+
GitHub Readme Stats provides several environment variables that can be used to customize the behavior of your self-hosted instance. These include:
803
803
804
-
*`CACHE_SECONDS`: This environment variable takes precedence over our cache minimum and maximum values and can circumvent these values for self-hosted Vercel instances.
804
+
*`CACHE_SECONDS`: This takes precedence over our cache minimum and maximum values and can circumvent these values for self-hosted instances.
805
+
*`WHITELIST`: A comma-separated list of GitHub usernames that are allowed to access your instance. If this variable is not set, all usernames are allowed.
806
+
*`GIST_WHITELIST`: A comma-separated list of GitHub gist IDs that are allowed to be accessed on your instance. If this variable is not set, all gist IDs are allowed.
805
807
806
808
See [the Vercel documentation](https://vercel.com/docs/concepts/projects/environment-variables) on adding these environment variables to your Vercel instance.
0 commit comments