From 4d52ea61afafe8462da9513b1cfeb2b532e695b4 Mon Sep 17 00:00:00 2001 From: nicwands Date: Mon, 1 Jun 2026 11:39:42 -0400 Subject: [PATCH] update preview path --- config/admin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;