From 32b0e81cbe0d6993ebe9fe0226462d8b542c5666 Mon Sep 17 00:00:00 2001 From: zoidy <7082025+zoidy@users.noreply.github.com> Date: Sat, 31 Oct 2020 17:28:28 -0700 Subject: [PATCH] add proper remote url to SHA link in sidebar --- .goreleaser.yml | 2 +- frontend/src/components/Sidebar.vue | 17 +++++++++-------- frontend/src/utils/constants.js | 4 +++- http/static.go | 1 + version/version.go | 2 ++ wizard.sh | 3 ++- 6 files changed, 18 insertions(+), 11 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 5d56ed0f..44f60b98 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -11,7 +11,7 @@ build: env: - CGO_ENABLED=0 ldflags: - - -s -w -X github.com/filebrowser/filebrowser/v2/version.Version={{ .Version }} -X github.com/filebrowser/filebrowser/v2/version.CommitSHA={{ .ShortCommit }} + - -s -w -X github.com/filebrowser/filebrowser/v2/version.Version={{ .Version }} -X github.com/filebrowser/filebrowser/v2/version.CommitSHA={{ .ShortCommit }} -X github.com/filebrowser/filebrowser/v2/version.GitURL={{ .GitURL }} main: main.go binary: filebrowser goos: diff --git a/frontend/src/components/Sidebar.vue b/frontend/src/components/Sidebar.vue index 2ac71706..2542f41b 100644 --- a/frontend/src/components/Sidebar.vue +++ b/frontend/src/components/Sidebar.vue @@ -47,12 +47,12 @@ File Browser File Browser {{ version }} - - Commit SHA: - - - - + + + Commit SHA: + + + {{ $t('sidebar.help') }}
@@ -62,7 +62,7 @@