mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 22:39:46 +00:00
guid and new alert flow
This commit is contained in:
committed by
Aiden McClelland
parent
a5266c2e41
commit
7576b30a6b
@@ -59,6 +59,14 @@ export class StateService {
|
||||
this.pollDataTransferProgress()
|
||||
}
|
||||
|
||||
|
||||
async importDrive (guid: string) : Promise<void> {
|
||||
const ret = await this.apiService.importDrive(guid)
|
||||
this.torAddress = 'http://' + ret['tor-address']
|
||||
this.lanAddress = 'https://' + ret['lan-address']
|
||||
this.cert = ret['root-ca']
|
||||
}
|
||||
|
||||
async setupEmbassy () : Promise<void> {
|
||||
const ret = await this.apiService.setupEmbassy({
|
||||
'embassy-logicalname': this.storageDrive.logicalname,
|
||||
|
||||
Reference in New Issue
Block a user