update preview path
This commit is contained in:
@@ -114,7 +114,7 @@ const config = ({
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Return the complete preview URL pointing to your Vike app's preview API
|
// Return the complete preview URL pointing to your Vike app's preview API
|
||||||
return `${clientUrl}/api/preview?${urlSearchParams}`;
|
return `${clientUrl}/preview?${urlSearchParams}`;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Preview handler error:", error);
|
console.error("Preview handler error:", error);
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user