make start9 logo clickable

This commit is contained in:
Matt Hill
2021-08-21 15:59:55 -06:00
committed by Matt Hill
parent e24051b1f3
commit 9c723dba3c
5 changed files with 15 additions and 6 deletions

View File

@@ -126,6 +126,16 @@ export class AppComponent {
})
}
async goToWebsite (): Promise<void> {
let url: string
if (this.config.isTor) {
url = 'http://privacy34kn4ez3y3nijweec6w4g54i3g54sdv7r5mr6soma3w4begyd.onion'
} else {
url = 'https://start9.com'
}
window.open(url, '_blank')
}
private watchConnection (auth: AuthState): void {
this.connectionService.watchFailure$()
.pipe(