update preview path

This commit is contained in:
nicwands
2026-06-01 11:39:42 -04:00
parent a3f7747d9e
commit 4d52ea61af

View File

@@ -114,7 +114,7 @@ const config = ({
});
// Return the complete preview URL pointing to your Vike app's preview API
return `${clientUrl}/api/preview?${urlSearchParams}`;
return `${clientUrl}/preview?${urlSearchParams}`;
} catch (error) {
console.error("Preview handler error:", error);
return null;