From 685454c83c3d0d1d435faa635475ab6f1d2556e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Afonso=20Ingl=C3=AAs?= Date: Tue, 17 Jun 2025 18:09:05 +0000 Subject: [PATCH] Updating the url of the repo --- README.md | 2 +- config/initializers/git_version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d887948..77b8ec9 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ```sh # Set it up... -$ git clone https://github.com/hackclub/harbor && cd harbor +$ git clone https://github.com/hackclub/hackatime && cd hackatime # Set your config $ cp .env.example .env diff --git a/config/initializers/git_version.rb b/config/initializers/git_version.rb index 0e7b036..09eb0c5 100644 --- a/config/initializers/git_version.rb +++ b/config/initializers/git_version.rb @@ -1,7 +1,7 @@ # Get the first 6 characters of the current git commit hash git_hash = ENV["SOURCE_COMMIT"] || `git rev-parse HEAD` rescue "unknown" -commit_link = git_hash != "unknown" ? "https://github.com/hackclub/harbor/commit/#{git_hash}" : nil +commit_link = git_hash != "unknown" ? "https://github.com/hackclub/hackatime/commit/#{git_hash}" : nil short_hash = git_hash[0..7]