diff --git a/packages/builder/src/components/start/CreateAppModal.svelte b/packages/builder/src/components/start/CreateAppModal.svelte index 623e30e73b..e75d7c4d09 100644 --- a/packages/builder/src/components/start/CreateAppModal.svelte +++ b/packages/builder/src/components/start/CreateAppModal.svelte @@ -25,8 +25,12 @@ await setupValidation() }) + const appPrefix = "/app" + $: appUrl = `${window.location.origin}${ - $values.url ? $values.url : `${resolveAppUrl(template, $values.name)}` + $values.url + ? `${appPrefix}${$values.url}` + : `${appPrefix}${resolveAppUrl(template, $values.name)}` }` const resolveAppUrl = (template, name) => { @@ -161,7 +165,7 @@ /> {#if $values.url && $values.url !== "" && !$validation.errors.url}