From e3906abcb888ae0baa0c68e5a2cef6d86c5ee9c6 Mon Sep 17 00:00:00 2001 From: James Ross Date: Tue, 8 Apr 2025 18:59:08 +0100 Subject: [PATCH] fix: code blocks in email routing changelog --- .../changelog/email-routing/2025-04-08-local-development.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/content/changelog/email-routing/2025-04-08-local-development.mdx b/src/content/changelog/email-routing/2025-04-08-local-development.mdx index 7c7d237bff1dd06..a41e2374eff3fc8 100644 --- a/src/content/changelog/email-routing/2025-04-08-local-development.mdx +++ b/src/content/changelog/email-routing/2025-04-08-local-development.mdx @@ -19,6 +19,7 @@ export default { console.log(email); }, }; +``` Now when you run `npx wrangler dev`, wrangler will expose a local `/cdn-cgi/handler/email` endpoint that you can `POST` email messages to and trigger your Worker's `email()` handler: @@ -74,4 +75,4 @@ This is what you get in the console: } ``` -Local development is a critical part of the development flow, and also works for sending, replying and forwarding emails. See [our documentation](/email-routing/email-workers/local-development/) for more information. \ No newline at end of file +Local development is a critical part of the development flow, and also works for sending, replying and forwarding emails. See [our documentation](/email-routing/email-workers/local-development/) for more information.