From fe09f5180db36f98c5cb0ccd1d1de0e68e521580 Mon Sep 17 00:00:00 2001 From: Jose Olarte III Date: Thu, 3 Aug 2023 20:12:47 +0800 Subject: [PATCH 1/2] Minor cleanup --- src/views/SeedBackupView.vue | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/src/views/SeedBackupView.vue b/src/views/SeedBackupView.vue index 08129049..7c19bf53 100644 --- a/src/views/SeedBackupView.vue +++ b/src/views/SeedBackupView.vue @@ -20,22 +20,26 @@
-

- BEWARE: Anyone who gets hold of this mnemonic seed phrase will be able - impersonate you and take over any digital holdings based on it. So only - reveal it when you are in a private place out of sight of other eyes, - and only record it in something private -- don't take a screenshot or - send it to any online service. +

+ BEWARE! Anyone who has this seed phrase will + be able impersonate you and take over any digital holdings based on it. + Reveal it when you are somewhere only you can see your screen, and + record it somewhere only you have access. + Don't take a screenshot or send it to any online service.

- +
+ -

{{ activeAccount.mnemonic }}

+

+ {{ activeAccount.mnemonic }} +

+
You do not have an active identity.
Date: Sat, 5 Aug 2023 18:20:03 -0600 Subject: [PATCH 2/2] update URL for API server --- src/constants/app.ts | 2 +- src/libs/endorserServer.ts | 2 +- src/views/NewEditProjectView.vue | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/constants/app.ts b/src/constants/app.ts index 94e0d5c9..b1baf7b5 100644 --- a/src/constants/app.ts +++ b/src/constants/app.ts @@ -4,7 +4,7 @@ export enum AppString { APP_NAME = "Kick-Start with Time", - PROD_ENDORSER_API_SERVER = "https://endorser.ch:3000", + PROD_ENDORSER_API_SERVER = "https://api.endorser.ch", TEST_ENDORSER_API_SERVER = "https://test.endorser.ch:8000", LOCAL_ENDORSER_API_SERVER = "http://localhost:3000", diff --git a/src/libs/endorserServer.ts b/src/libs/endorserServer.ts index 60455fbf..b3c44ec8 100644 --- a/src/libs/endorserServer.ts +++ b/src/libs/endorserServer.ts @@ -101,7 +101,7 @@ export function didInfo(did, activeDid, allMyDids, contacts) { } /** - * For result, see https://endorser.ch:3000/api-docs/#/claims/post_api_v2_claim + * For result, see https://api.endorser.ch/api-docs/#/claims/post_api_v2_claim * * @param identity * @param fromDid may be null diff --git a/src/views/NewEditProjectView.vue b/src/views/NewEditProjectView.vue index f50e129d..dc70ca12 100644 --- a/src/views/NewEditProjectView.vue +++ b/src/views/NewEditProjectView.vue @@ -218,13 +218,13 @@ export default class NewEditProjectView extends Vue { try { const resp = await this.axios.post(url, payload, { headers }); // handleId is new in server v release-1.6.0; remove fullIri when that - // version shows up here: https://endorser.ch:3000/api-docs/ + // version shows up here: https://api.endorser.ch/api-docs/ if (resp.data?.success?.handleId || resp.data?.success?.fullIri) { this.errorMessage = ""; this.alertTitle = ""; this.alertMessage = ""; // handleId is new in server v release-1.6.0; remove fullIri when that - // version shows up here: https://endorser.ch:3000/api-docs/ + // version shows up here: https://api.endorser.ch/api-docs/ useAppStore().setProjectId( resp.data.success.handleId || resp.data.success.fullIri, );