mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
rework LAN display and service launchability
This commit is contained in:
committed by
Keagan McClelland
parent
daf701a76c
commit
deb0b1e561
@@ -16,10 +16,8 @@ export class LANPage {
|
||||
lanDocs = 'docs.start9labs.com/user-manual/general/secure-lan'
|
||||
|
||||
lanAddress: string
|
||||
isTor: boolean
|
||||
fullDocumentationLink: string
|
||||
isConsulate: boolean
|
||||
lanDisabled: LanSetupIssue = undefined
|
||||
lanDisabled: LanSetupIssue
|
||||
readonly lanDisabledExplanation: { [k in LanSetupIssue]: string } = {
|
||||
NotDesktop: `We have detected you are on a mobile device. To setup LAN on a mobile device, use the Start9 Setup App.`,
|
||||
NotTor: `We have detected you are not using a Tor connection. For security reasons, you must setup LAN over a Tor connection. Please navigate to your Embassy Tor Address and try again.`,
|
||||
@@ -40,8 +38,6 @@ export class LANPage {
|
||||
this.lanDisabled = 'NotTor'
|
||||
}
|
||||
|
||||
this.isConsulate = this.config.isConsulateIos || this.config.isConsulateAndroid
|
||||
|
||||
if (this.config.isTor()) {
|
||||
this.fullDocumentationLink = `http://${this.torDocs}`
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user