Skip to content

fix(document-driven): throw 404 error when content is missing - #1394

Merged
farnabaz merged 3 commits into
mainfrom
fix/404-page
Aug 2, 2022
Merged

fix(document-driven): throw 404 error when content is missing#1394
farnabaz merged 3 commits into
mainfrom
fix/404-page

Conversation

@farnabaz

Copy link
Copy Markdown
Member

🔗 Linked issue

resolvesnuxt-content/docus#587

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@netlify

netlifyBot commented Jul 29, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt-content ready!

NameLink
🔨 Latest commit5d90c38
🔍 Latest deploy loghttps://app.netlify.com/sites/nuxt-content/deploys/62e7af3259d0070008f5530e
😎 Deploy Previewhttps://deploy-preview-1394--nuxt-content.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@farnabaz
farnabaz marked this pull request as ready for review July 29, 2022 11:38
@atinux

Copy link
Copy Markdown
Member

Could we check if it sends back the 404 code on SSR as well?

Any chance to add a test case for it?

Comment threadsrc/runtime/pages/document-driven.vue Outdated
@farnabaz
farnabaz merged commit 343db3e into mainAug 2, 2022
@farnabaz
farnabaz deleted the fix/404-page branch August 2, 2022 13:57
@farnabazfarnabaz mentioned this pull request Aug 12, 2022
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

404 page is buggy

3 participants

@farnabaz@atinux@pi0