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(