Clarify Fastify middleware asset handling#13870
Conversation
✅ Deploy Preview for astro-docs-2 ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
|
Hello! Thank you for opening your first PR to Astro’s Docs! 🎉 Here’s what will happen next:
|
Description
Clarifies the Fastify middleware example for
@astrojs/nodeso static client assets are handled by Fastify, while page/API/error routes are handled by Astro.This adds a guard for files in
dist/client/and generated/_astro/assets before calling the Astro SSR handler.Closes #13864.
Tests
pnpm exec prettier --check src/content/docs/en/guides/integrations-guide/node.mdxpnpm run check