fix: link to active connection
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is passing

This commit is contained in:
xuu 2023-05-29 12:45:56 -06:00
parent d315b70011
commit cf85dfa039
Signed by: xuu
GPG Key ID: C63E6D61F3035024
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ steps:
GOOS: linux GOOS: linux
GOARCH: amd64 GOARCH: amd64
commands: commands:
- go build -ldflags "-s -w" -o build/sshfwd ./cmd/sshfwd - go build -ldflags "-s -w" -o build/sshfwd .
- name: compress - name: compress
image: gruebel/upx:latest image: gruebel/upx:latest

View File

@ -45,9 +45,9 @@
<div style='float:right'> <div style='float:right'>
{{ if $user.Active }} {{ if $user.Active }}
<a href="/user/{{ $user.Name }}" class='btn btn-success'>Active</a> <a href="https://{{ $user.Name }}.{{ $args.DomainName }}" class='btn btn-success'>Active</a>
{{ else }} {{ else }}
<a href="/user/{{ $user.Name }}" class='btn btn-danger'>Disconnected</a> <button disabled class='btn btn-danger'>Disconnected</button>
{{ end }} {{ end }}
</div> </div>
</div> </div>