diff --git a/config/admin.ts b/config/admin.ts index a10f301..56ba599 100644 --- a/config/admin.ts +++ b/config/admin.ts @@ -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;