diff --git a/.drone.yml b/.drone.yml index 13735c3..09090f9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -63,7 +63,7 @@ steps: volumes: - /root/.ssh/docker-build:/root/drone_rsa key_path: /root/drone_rsa - command_timeout: 30m + command_timeout: 50m script: - /home/rock64/jfa-go-build/build-stable.sh trigger: @@ -94,7 +94,7 @@ steps: volumes: - /root/.ssh/docker-build:/root/drone_rsa key_path: /root/drone_rsa - command_timeout: 30m + command_timeout: 50m script: - ssh pi /home/pi/jfa-go-build/build-stable.sh trigger: @@ -125,7 +125,7 @@ steps: volumes: - /root/.ssh/docker-build:/root/drone_rsa key_path: /root/drone_rsa - command_timeout: 30m + command_timeout: 50m script: - env DOCKER_CLI_EXPERIMENTAL=enabled docker manifest create hrfee/jfa-go:latest --amend hrfee/jfa-go:manifest-latest-amd64 --amend hrfee/jfa-go:manifest-latest-arm64 --amend hrfee/jfa-go:manifest-latest-armhf - env DOCKER_CLI_EXPERIMENTAL=enabled docker manifest push hrfee/jfa-go:latest @@ -206,7 +206,7 @@ steps: volumes: - /root/.ssh/docker-build:/root/drone_rsa key_path: /root/drone_rsa - command_timeout: 30m + command_timeout: 50m script: - /home/rock64/jfa-go-build/build.sh @@ -243,7 +243,7 @@ steps: volumes: - /root/.ssh/docker-build:/root/drone_rsa key_path: /root/drone_rsa - command_timeout: 30m + command_timeout: 50m script: - ssh pi /home/pi/jfa-go-build/build.sh @@ -280,7 +280,7 @@ steps: volumes: - /root/.ssh/docker-build:/root/drone_rsa key_path: /root/drone_rsa - command_timeout: 30m + command_timeout: 50m script: - env DOCKER_CLI_EXPERIMENTAL=enabled docker manifest create hrfee/jfa-go:unstable --amend hrfee/jfa-go:manifest-unstable-amd64 --amend hrfee/jfa-go:manifest-unstable-arm64 --amend hrfee/jfa-go:manifest-unstable-armhf - env DOCKER_CLI_EXPERIMENTAL=enabled docker manifest push hrfee/jfa-go:unstable diff --git a/views.go b/views.go index d13c1f8..717dd2c 100644 --- a/views.go +++ b/views.go @@ -152,6 +152,7 @@ func (app *appContext) InviteProxy(gc *gin.Context) { "strings": app.storage.lang.Form[lang].Strings, "successMessage": app.config.Section("ui").Key("success_message").String(), "contactMessage": app.config.Section("ui").Key("contact_message").String(), + "jfLink": app.config.Section("jellyfin").Key("public_server").String(), }) inv, ok := app.storage.invites[code] if ok {