File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11GITHUB_TOKEN = your_github_token_here
2+ # Public GitHub repository URL shown by the app.
3+ # If omitted, the app falls back to https://github.com/O2sa/DevImpact
4+ NEXT_PUBLIC_GITHUB_REPO_URL = your_github_repo_url_here
25
36# Redis caching (optional)
47# Use either redis://localhost:6379 or include password if enabled: redis://:password@localhost:6379
Original file line number Diff line number Diff line change @@ -11,9 +11,10 @@ type GithubLinkProps = {
1111export function GithubLink ( { variant = "compact" } : GithubLinkProps ) {
1212 const isProminent = variant === "prominent" ;
1313
14+ const githubRepoUrl = process . env . NEXT_PUBLIC_GITHUB_REPO_URL || "https://github.com/O2sa/DevImpact" ;
1415 return (
1516 < a
16- href = "https://github.com/O2sa/DevImpact"
17+ href = { githubRepoUrl }
1718 target = "_blank"
1819 rel = "noopener noreferrer"
1920 aria-label = "GitHub repository"
You can’t perform that action at this time.
0 commit comments