Skip to content

Commit

Permalink
fix(config): update references to Git repository
Browse files Browse the repository at this point in the history
  • Loading branch information
vednoc committed Oct 15, 2024
1 parent 4863bb7 commit aed3266
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func (app *AppConfig) UpdateCopyright() {
// UpdateGitInfo updates dynamic Git-specific fields.
func (app *AppConfig) UpdateGitInfo() {
if app.GitRepository == "" {
log.Fatal("config: App.Repository can't be an empty string")
log.Fatal("config: App.GitRepository can't be an empty string")
}

app.GitCommitURL = fmt.Sprintf("%s/commit/%s", app.GitRepository, GitCommit)
Expand Down
2 changes: 1 addition & 1 deletion web/views/user/account.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
really helpful! If you're a userstyle author,
don't hesitate to reach out and let us know what
you'd like to see on this platform. You can do so
via <a href="{{ .App.Repository }}/issues">GitHub</a>
via <a href="{{ .App.GitRepository }}/issues">GitHub</a>
or via <a href="mailto:feedback@userstyles.world">email</a>.
</p>
{{ end }}
Expand Down

0 comments on commit aed3266

Please sign in to comment.