[WEB-5475]fix: updated intake forms publish url
This commit is contained in:
@@ -8,7 +8,7 @@ export default [
|
||||
layout("./views/[anchor]/layout.tsx", [route("views/:anchor", "./views/[anchor]/page.tsx")]),
|
||||
layout("./pages/[anchor]/layout.tsx", [route("pages/:anchor", "./pages/[anchor]/page.tsx")]),
|
||||
layout("./intake/[anchor]/layout.tsx", [route("intake/:anchor", "./intake/[anchor]/page.tsx")]),
|
||||
layout("./intake/custom/[anchor]/layout.tsx", [route("intake/custom/:anchor", "./intake/custom/[anchor]/page.tsx")]),
|
||||
layout("./intake/forms/[anchor]/layout.tsx", [route("intake/forms/:anchor", "./intake/forms/[anchor]/page.tsx")]),
|
||||
// Catch-all route for 404 handling
|
||||
route("*", "./not-found.tsx"),
|
||||
] satisfies RouteConfig;
|
||||
|
||||
@@ -24,7 +24,7 @@ export const IntakeFormLink: React.FC<Props> = observer((props: Props) => {
|
||||
};
|
||||
|
||||
const SPACE_APP_URL = (SPACE_BASE_URL.trim() === "" ? window.location.origin : SPACE_BASE_URL) + SPACE_BASE_PATH;
|
||||
const publishLink = `${SPACE_APP_URL}/intake/custom/${anchor}`;
|
||||
const publishLink = `${SPACE_APP_URL}/intake/forms/${anchor}`;
|
||||
|
||||
return (
|
||||
<div className="flex gap-2 h-[30px] w-full">
|
||||
|
||||
Reference in New Issue
Block a user