mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 14:29:45 +00:00
base64 encode cert (#1295)
This commit is contained in:
@@ -111,10 +111,15 @@ export class LiveApiService extends ApiService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async setupComplete() {
|
async setupComplete() {
|
||||||
return this.http.rpcRequest<SetupEmbassyRes>({
|
const res = await this.http.rpcRequest<SetupEmbassyRes>({
|
||||||
method: 'setup.complete',
|
method: 'setup.complete',
|
||||||
params: {},
|
params: {},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
return {
|
||||||
|
...res,
|
||||||
|
'root-ca': btoa(res['root-ca']),
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user