Fix scope
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
* populates snapshots, and overrides the request-context DB.
|
||||
*/
|
||||
|
||||
import { createPreviewMiddleware } from "@emdashcms/cloudflare/db/do";
|
||||
import { createPreviewMiddleware } from "@emdash-cms/cloudflare/db/do";
|
||||
import { sequence } from "astro:middleware";
|
||||
|
||||
const preview = createPreviewMiddleware({
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
import handler from "@astrojs/cloudflare/entrypoints/server";
|
||||
|
||||
// Export the DO class so Cloudflare can instantiate it
|
||||
export { EmDashPreviewDB } from "@emdashcms/cloudflare/db/do";
|
||||
export { EmDashPreviewDB } from "@emdash-cms/cloudflare/db/do";
|
||||
|
||||
export default handler;
|
||||
|
||||
Reference in New Issue
Block a user