1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-22 09:00:10 +00:00

fix url in account creation success page

This commit is contained in:
Harvey Tindall 2021-02-12 13:38:34 +00:00
parent 4c653fea36
commit 1af8d1f77d
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2
2 changed files with 7 additions and 6 deletions

View File

@ -63,7 +63,7 @@ steps:
volumes: volumes:
- /root/.ssh/docker-build:/root/drone_rsa - /root/.ssh/docker-build:/root/drone_rsa
key_path: /root/drone_rsa key_path: /root/drone_rsa
command_timeout: 30m command_timeout: 50m
script: script:
- /home/rock64/jfa-go-build/build-stable.sh - /home/rock64/jfa-go-build/build-stable.sh
trigger: trigger:
@ -94,7 +94,7 @@ steps:
volumes: volumes:
- /root/.ssh/docker-build:/root/drone_rsa - /root/.ssh/docker-build:/root/drone_rsa
key_path: /root/drone_rsa key_path: /root/drone_rsa
command_timeout: 30m command_timeout: 50m
script: script:
- ssh pi /home/pi/jfa-go-build/build-stable.sh - ssh pi /home/pi/jfa-go-build/build-stable.sh
trigger: trigger:
@ -125,7 +125,7 @@ steps:
volumes: volumes:
- /root/.ssh/docker-build:/root/drone_rsa - /root/.ssh/docker-build:/root/drone_rsa
key_path: /root/drone_rsa key_path: /root/drone_rsa
command_timeout: 30m command_timeout: 50m
script: 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 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 - env DOCKER_CLI_EXPERIMENTAL=enabled docker manifest push hrfee/jfa-go:latest
@ -206,7 +206,7 @@ steps:
volumes: volumes:
- /root/.ssh/docker-build:/root/drone_rsa - /root/.ssh/docker-build:/root/drone_rsa
key_path: /root/drone_rsa key_path: /root/drone_rsa
command_timeout: 30m command_timeout: 50m
script: script:
- /home/rock64/jfa-go-build/build.sh - /home/rock64/jfa-go-build/build.sh
@ -243,7 +243,7 @@ steps:
volumes: volumes:
- /root/.ssh/docker-build:/root/drone_rsa - /root/.ssh/docker-build:/root/drone_rsa
key_path: /root/drone_rsa key_path: /root/drone_rsa
command_timeout: 30m command_timeout: 50m
script: script:
- ssh pi /home/pi/jfa-go-build/build.sh - ssh pi /home/pi/jfa-go-build/build.sh
@ -280,7 +280,7 @@ steps:
volumes: volumes:
- /root/.ssh/docker-build:/root/drone_rsa - /root/.ssh/docker-build:/root/drone_rsa
key_path: /root/drone_rsa key_path: /root/drone_rsa
command_timeout: 30m command_timeout: 50m
script: 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 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 - env DOCKER_CLI_EXPERIMENTAL=enabled docker manifest push hrfee/jfa-go:unstable

View File

@ -152,6 +152,7 @@ func (app *appContext) InviteProxy(gc *gin.Context) {
"strings": app.storage.lang.Form[lang].Strings, "strings": app.storage.lang.Form[lang].Strings,
"successMessage": app.config.Section("ui").Key("success_message").String(), "successMessage": app.config.Section("ui").Key("success_message").String(),
"contactMessage": app.config.Section("ui").Key("contact_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] inv, ok := app.storage.invites[code]
if ok { if ok {