From e2d6fbb513dc9fe7ce05855edb4b0b4b5daeb07a Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Wed, 11 Dec 2024 17:29:14 +0100 Subject: [PATCH] refactor(orgs): Swtich to new selfservice baseurl --- public/env.sample.js | 1 + src/components/orgs/OrgDetail.svelte | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/public/env.sample.js b/public/env.sample.js index a3036978..30642939 100644 --- a/public/env.sample.js +++ b/public/env.sample.js @@ -1,5 +1,6 @@ const config = { baseurl: "http://localhost:4010", + baseurl_selfservice: "http://localhost:5174", baseurl_documentserver: "http://localhost:4010/documents", documentserver_key: "NqZSYTy5AFQ7MppbLW5moqpTk7u7YrNUHKYhKYuThnnya2WpCOIU694hIZT1FzYe", diff --git a/src/components/orgs/OrgDetail.svelte b/src/components/orgs/OrgDetail.svelte index e569da60..44125fe8 100644 --- a/src/components/orgs/OrgDetail.svelte +++ b/src/components/orgs/OrgDetail.svelte @@ -38,7 +38,7 @@ $: cards_show = true; $: certificates_show = true; $: generate_orgs = [original_object]; - $: registrationLink = `${config.baseurl}/selfservice/register/${editable.registrationKey}`; + $: registrationLink = `${config.baseurl_selfservice}/register/${editable.registrationKey}`; const getContactLabel = (option) => option.firstname + " " + (option.middlename || "") + " " + option.lastname; const promise = RunnerOrganizationService.runnerOrganizationControllerGetOne(