[WEB-5475]fix: updated intake forms publish url

This commit is contained in:
Vamsi Krishna
2025-11-21 12:45:35 +05:30
committed by GitHub
parent 75757262d3
commit 96fd7efcbb
4 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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">