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