fix: update org invite url to include the /console base

Since we've moved the console to a separate container, the path must start with /console so that the request (including the query string params) are passed to the console container.
This commit is contained in:
Steven Nguyen committed 2024-09-03 23:37:39 +00:00
1 parent 7656dc6f0d
commit eb0412cd3c
1 file changed
+2 -1
@@ -1,4 +1,5 @@
<script lang="ts">
import { base } from '$app/paths';
import { page } from '$app/stores';
import { Alert, Modal } from '$lib/components';
import { InputText, InputEmail, Button, FormList } from '$lib/elements/forms';
@@ -17,7 +18,7 @@
const dispatch = createEventDispatcher();
const url = `${$page.url.origin}/invite`;
const url = `${$page.url.origin}/${base}/invite`;
$: plan = $plansInfo?.get($organization?.billingPlan);
let email: string, name: string, error: string;