Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
GITHUB_TOKEN=your_github_token_here
# Public GitHub repository URL shown by the app.
# If omitted, the app falls back to https://github.com/O2sa/DevImpact
NEXT_PUBLIC_GITHUB_REPO_URL=your_github_repo_url_here

# Redis caching (optional)
# Use either redis://localhost:6379 or include password if enabled: redis://:password@localhost:6379
Expand Down
3 changes: 2 additions & 1 deletion components/github-link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ type GithubLinkProps = {
export function GithubLink({ variant = "compact" }: GithubLinkProps) {
const isProminent = variant === "prominent";

const githubRepoUrl= process.env.NEXT_PUBLIC_GITHUB_REPO_URL || "https://github.com/O2sa/DevImpact";
return (
<a
href="https://github.com/O2sa/DevImpact"
href={githubRepoUrl}
target="_blank"
rel="noopener noreferrer"
aria-label="GitHub repository"
Expand Down
Loading